mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 01:46:35 +00:00
Fixed dialog not showing for full screen windows
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<panelview id="PanelUI-zen-profiles" position="bottomleft topleft" side="right">
|
<panelview id="PanelUI-zen-profiles" position="bottomleft topleft" mainview="true" side="right">
|
||||||
<vbox>
|
<vbox>
|
||||||
<html:div id="PanelUI-zen-profiles-header">
|
<html:div id="PanelUI-zen-profiles-header">
|
||||||
<html:div id="PanelUI-zen-profiles-user-picture"></html:div>
|
<html:div id="PanelUI-zen-profiles-user-picture"></html:div>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<toolbar id="zen-sidebar-icons-wrapper">
|
<toolbar id="zen-sidebar-icons-wrapper">
|
||||||
<toolbarbutton class="toolbarbutton-1 zen-sidebar-action-button" id="zen-profile-button" data-l10n-id="toolbar-button-account" onclick="ZenProfileDialogUI.showSubView(this, event)">
|
<toolbarbutton class="toolbarbutton-1 zen-sidebar-action-button chromeclass-toolbar-additional subviewbutton-nav" badge="true" closemenu="none" removable="true" delegatesanchor="true" cui-areatype="toolbar" id="zen-profile-button" data-l10n-id="toolbar-button-account" onclick="ZenProfileDialogUI.showSubView(this, event)">
|
||||||
<html:div class="zen-side-bar-profiles-button-panel-correction"></html:div>
|
<html:div class="zen-side-bar-profiles-button-panel-correction"></html:div>
|
||||||
<html:div></html:div>
|
<html:div></html:div>
|
||||||
</toolbarbutton>
|
</toolbarbutton>
|
||||||
|
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/browser/components/customizableui/PanelMultiView.sys.mjs b/browser/components/customizableui/PanelMultiView.sys.mjs
|
||||||
|
index a97889f08a61e68ebf5bc5d3749362a40d48bb77..5770b0e86bbe01180c174f5d512133c577c4e0ac 100644
|
||||||
|
--- a/browser/components/customizableui/PanelMultiView.sys.mjs
|
||||||
|
+++ b/browser/components/customizableui/PanelMultiView.sys.mjs
|
||||||
|
@@ -1205,7 +1205,7 @@ export var PanelMultiView = class extends AssociatedToNode {
|
||||||
|
} else {
|
||||||
|
let anchorScreenBottom = anchor.screenY + anchorRect.height;
|
||||||
|
let cssAvailHeight = availHeight.value / screen.defaultCSSScaleFactor;
|
||||||
|
- maxHeight = cssAvailTop + cssAvailHeight - anchorScreenBottom;
|
||||||
|
+ maxHeight = cssAvailTop + cssAvailHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
// To go from the maximum height of the panel to the maximum height of
|
Reference in New Issue
Block a user