mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-20 12:01:27 +00:00
27 lines
1.3 KiB
C++
27 lines
1.3 KiB
C++
diff --git a/browser/components/customizableui/content/panelUI.js b/browser/components/customizableui/content/panelUI.js
|
|
index 5a469ce153dada011144fb4b66747c41e778ff1e..83bedb74df5b4064e8a0580f8b2ee9c0c27f81a8 100644
|
|
--- a/browser/components/customizableui/content/panelUI.js
|
|
+++ b/browser/components/customizableui/content/panelUI.js
|
|
@@ -666,10 +666,12 @@ const PanelUI = {
|
|
if (hasKids && !this.navbar.hasAttribute("nonemptyoverflow")) {
|
|
this.navbar.setAttribute("nonemptyoverflow", "true");
|
|
this.overflowPanel.setAttribute("hasfixeditems", "true");
|
|
+ window.document.getElementById("zen-sidebar-top-buttons").setAttribute("nonemptyoverflow", "true");
|
|
} else if (!hasKids && this.navbar.hasAttribute("nonemptyoverflow")) {
|
|
PanelMultiView.hidePopup(this.overflowPanel);
|
|
this.overflowPanel.removeAttribute("hasfixeditems");
|
|
this.navbar.removeAttribute("nonemptyoverflow");
|
|
+ window.document.getElementById("zen-sidebar-top-buttons").removeAttribute("nonemptyoverflow");
|
|
}
|
|
},
|
|
|
|
@@ -1017,7 +1019,7 @@ const PanelUI = {
|
|
el.removeAttribute("data-lazy-l10n-id");
|
|
});
|
|
|
|
- this.notificationPanel.openPopup(anchor, "bottomright topright");
|
|
+ this.notificationPanel.openPopup(anchor, gZenUIManager.panelUIPosition(this.notificationPanel, anchor));
|
|
},
|
|
|
|
_clearNotificationPanel() {
|