mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 842780 - about:newaddon doesn't restrict size of the add-on's icon. r=Unfocused
This commit is contained in:
parent
e6c08d7ea1
commit
825e9657fa
@ -51,7 +51,7 @@ function initialize() {
|
||||
gAddon = aAddon;
|
||||
|
||||
document.getElementById("addon-info").setAttribute("type", aAddon.type);
|
||||
|
||||
|
||||
let icon = document.getElementById("icon");
|
||||
if (aAddon.icon64URL)
|
||||
icon.src = aAddon.icon64URL;
|
||||
@ -60,7 +60,7 @@ function initialize() {
|
||||
|
||||
let name = bundle.formatStringFromName("name", [aAddon.name, aAddon.version],
|
||||
2);
|
||||
document.getElementById("name").value = name
|
||||
document.getElementById("name").value = name;
|
||||
|
||||
if (aAddon.creator) {
|
||||
let creator = bundle.formatStringFromName("author", [aAddon.creator], 1);
|
||||
|
@ -36,6 +36,8 @@
|
||||
|
||||
#icon {
|
||||
-moz-margin-end: 10px;
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,8 @@
|
||||
|
||||
#icon {
|
||||
-moz-margin-end: 10px;
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,8 @@
|
||||
|
||||
#icon {
|
||||
-moz-margin-end: 10px;
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user