MDL-42683 EditPDF: stamp picker button size is wrong
This commit is contained in:
+1
-1
@@ -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/>');
|
||||
|
||||
+5
-5
File diff suppressed because one or more lines are too long
+1
-1
@@ -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/>');
|
||||
|
||||
Reference in New Issue
Block a user