commit e2a9540f683d8f8749acd78f7d13663119ba44f4
parent 05e7955bf8563ca4d8d71c3495587e60c6a6b3a5
Author: DJ <dj@walker.dev>
Date: Fri, 19 Dec 2025 20:54:04 +0000
Bug 2007182 - adjust diagonal positioning of preview for tabs in the pinned grid. r=sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D277239
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/components/tabbrowser/content/tab-hover-preview.mjs b/browser/components/tabbrowser/content/tab-hover-preview.mjs
@@ -558,8 +558,8 @@ class TabPanel extends HoverPanel {
// Popup anchors to the corner of tabs in the vertical pinned grid
if (tabContainer.isContainerVerticalPinnedGrid(this.#tab)) {
positionFromAnchor = sidebarAtStart ? "bottomright" : "bottomleft";
- positionX = sidebarAtStart ? -20 : 20;
- positionY = -15;
+ positionX = sidebarAtStart ? -6 : 6;
+ positionY = -10;
}
return {