MDL-42683 EditPDF: stamp picker button size is wrong

This commit is contained in:
Jerome Mouneyrac
2013-11-04 12:35:30 +08:00
parent 5386f0bbfe
commit 7abb7c72ec
4 changed files with 8 additions and 8 deletions
@@ -1784,7 +1784,7 @@ Y.extend(STAMPPICKER, M.assignfeedback_editpdf.dropdown, {
var button, listitem, title;
title = M.util.get_string('stamp', 'assignfeedback_editpdf');
button = Y.Node.create('<button><img height="40" alt="' + title + '" src="' + stamp + '"/></button>');
button = Y.Node.create('<button><img height="16" width="16" alt="' + title + '" src="' + stamp + '"/></button>');
button.setAttribute('data-stamp', stamp);
button.setStyle('backgroundImage', 'none');
listitem = Y.Node.create('<li/>');
File diff suppressed because one or more lines are too long
@@ -1784,7 +1784,7 @@ Y.extend(STAMPPICKER, M.assignfeedback_editpdf.dropdown, {
var button, listitem, title;
title = M.util.get_string('stamp', 'assignfeedback_editpdf');
button = Y.Node.create('<button><img height="40" alt="' + title + '" src="' + stamp + '"/></button>');
button = Y.Node.create('<button><img height="16" width="16" alt="' + title + '" src="' + stamp + '"/></button>');
button.setAttribute('data-stamp', stamp);
button.setStyle('backgroundImage', 'none');
listitem = Y.Node.create('<li/>');
@@ -30,7 +30,7 @@ Y.extend(STAMPPICKER, M.assignfeedback_editpdf.dropdown, {
var button, listitem, title;
title = M.util.get_string('stamp', 'assignfeedback_editpdf');
button = Y.Node.create('<button><img height="40" alt="' + title + '" src="' + stamp + '"/></button>');
button = Y.Node.create('<button><img height="16" width="16" alt="' + title + '" src="' + stamp + '"/></button>');
button.setAttribute('data-stamp', stamp);
button.setStyle('backgroundImage', 'none');
listitem = Y.Node.create('<li/>');