mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 797700 - Restrict height/width of ambient notification icons to 16x16. r=mixedpuppy
This commit is contained in:
parent
58350ce96f
commit
aa802d3aee
@ -654,6 +654,7 @@ var SocialToolbar = {
|
||||
stack.classList.add("toolbarbutton-icon");
|
||||
image = document.createElement("image");
|
||||
image.setAttribute("id", imageId);
|
||||
image.classList.add("social-notification-icon-image");
|
||||
image = stack.appendChild(image);
|
||||
label = document.createElement("label");
|
||||
label.setAttribute("id", labelId);
|
||||
|
@ -2637,9 +2637,10 @@ html|*#gcli-output-frame {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.social-notification-icon-stack > image {
|
||||
.social-notification-icon-image {
|
||||
margin: 5px 3px;
|
||||
max-height: 16px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.social-notification-icon-hbox {
|
||||
|
@ -4050,10 +4050,6 @@ html|*#gcli-output-frame {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.social-notification-icon-stack > image {
|
||||
max-height: 16px;
|
||||
}
|
||||
|
||||
.social-notification-icon-hbox {
|
||||
padding: 0;
|
||||
}
|
||||
@ -4081,10 +4077,9 @@ html|*#gcli-output-frame {
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
.social-notification-icon-image {
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
||||
}
|
||||
.social-notification-icon-image {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* === end of social toolbar button === */
|
||||
|
@ -3329,14 +3329,9 @@ html|*#gcli-output-frame {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* notification image */
|
||||
.social-notification-icon-image {
|
||||
padding: 2px;
|
||||
margin: 0;
|
||||
min-width: 20px;
|
||||
max-width: 32px;
|
||||
max-height: 20px;
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* social toolbar provider menu */
|
||||
|
Loading…
Reference in New Issue
Block a user