fix: Fixed addons menu being off-screen, b=closes #11177, c=common

This commit is contained in:
mr. m
2025-11-06 23:02:07 +01:00
parent 5ca4553e70
commit 11e3397421
3 changed files with 10 additions and 8 deletions

View File

@@ -5,10 +5,11 @@
<panel id="zen-unified-site-data-panel"
role="group"
type="arrow"
noautofocus="true">
noautofocus="true"
position="bottomright topright">
<panelmultiview mainViewId="unified-extensions-view">
# We'll keep the view with this name/id in order to prevent
# any sort of future issues we may have if firefox decides
# any sort of future issues we may have if firefox decides
# to change the functionality of this view
<panelview id="unified-extensions-view"
class="cui-widget-panelview"

View File

@@ -654,15 +654,16 @@ var gZenUIManager = {
// behavior where dragging the text-area resizer downward with the mouse actually grows the panel's top edge upward, since
// the bottom of the panel is anchored in place. We want to disable the resizer if the panel was positioned to be anchored
// from one of its bottom corners.
let block = 'before';
let inline = 'end';
let block = 'bottomleft';
let inline = 'topleft';
if (anchor?.closest('#zen-sidebar-top-buttons')) {
block = 'after';
block = 'topleft';
}
if (gZenVerticalTabsManager._hasSetSingleToolbar && !gZenVerticalTabsManager._prefsRightSide) {
inline = 'start';
block = 'bottomright';
inline = 'topright';
}
return `${block}_${inline}`;
return `${block} ${inline}`;
},
urlStringsDomainMatch(url1, url2) {

View File

@@ -19,7 +19,7 @@
"brandShortName": "Zen",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.17.5b",
"displayVersion": "1.17.6b",
"github": {
"repo": "zen-browser/desktop"
},