summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-19 09:14:44 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-19 09:14:44 +0200
commit11cf9b22e90196b8af2e314ddc744ea15fca57a9 (patch)
tree1a2a26b9a8b0db43ce4a6a503d6907a3f2877a69
parent3ab2a0b7be7abc96dd8fff435f28d85545bc71c0 (diff)
downloadUXP-11cf9b22e90196b8af2e314ddc744ea15fca57a9.tar
UXP-11cf9b22e90196b8af2e314ddc744ea15fca57a9.tar.gz
UXP-11cf9b22e90196b8af2e314ddc744ea15fca57a9.tar.lz
UXP-11cf9b22e90196b8af2e314ddc744ea15fca57a9.tar.xz
UXP-11cf9b22e90196b8af2e314ddc744ea15fca57a9.zip
[PALEMOON] [frontend vs backend] Follow up - ".toolbarbutton-badge-container" was renamed to ".toolbarbutton-badge-stack"
Issue #202
-rw-r--r--application/palemoon/base/content/browser.css2
-rw-r--r--application/palemoon/base/content/urlbarBindings.xml6
2 files changed, 4 insertions, 4 deletions
diff --git a/application/palemoon/base/content/browser.css b/application/palemoon/base/content/browser.css
index 91ae9aa18..658655970 100644
--- a/application/palemoon/base/content/browser.css
+++ b/application/palemoon/base/content/browser.css
@@ -750,7 +750,7 @@ toolbarbutton[type="badged"] {
}
/* Strict icon size for PMkit 'ui/button' */
-toolbarbutton[pmkit-button="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
+toolbarbutton[pmkit-button="true"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
width: 16px;
height: 16px;
}
diff --git a/application/palemoon/base/content/urlbarBindings.xml b/application/palemoon/base/content/urlbarBindings.xml
index 75411f39b..bf59ea164 100644
--- a/application/palemoon/base/content/urlbarBindings.xml
+++ b/application/palemoon/base/content/urlbarBindings.xml
@@ -1770,10 +1770,10 @@
extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton">
<content>
<children includes="observes|template|menupopup|panel|tooltip"/>
- <xul:hbox class="toolbarbutton-badge-container" align="start" pack="end" flex="1">
- <xul:hbox class="toolbarbutton-badge" xbl:inherits="badge"/>
+ <xul:stack class="toolbarbutton-badge-stack">
<xul:image class="toolbarbutton-icon" xbl:inherits="validate,src=image,label"/>
- </xul:hbox>
+ <xul:label class="toolbarbutton-badge" xbl:inherits="value=badge" top="0" end="0"/>
+ </xul:stack>
<xul:label class="toolbarbutton-text" crop="right" flex="1"
xbl:inherits="value=label,accesskey,crop"/>
</content>