userChrome/tabmenu: Fix height of tab menu in FF 113 (MR 31)

Without this fix, the tab menu is only tall enough for 2 or 3 entries.

This is an update of the rule directly above it, changing the ID and
changing from a calculated height to a fixed height matching its child
#allTabsMenu-allTabsView. With the calculated height, the menu entries
were offset above the top of the menu. The previous rule no longer seems
to be necessary, at least in Firefox 102 and newer, since
#allTabsMenu-multiView does not exist.
This commit is contained in:
Ulrik de Muelenaere 2023-05-17 18:20:36 -04:00 committed by Oliver Smith
parent 3dcfd01d09
commit 8cbf7c9e30
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -67,11 +67,16 @@
overflow-y: hidden !important; overflow-y: hidden !important;
} }
#allTabsMenu-multiView box.panel-viewstack { #allTabsMenu-multiView box.panel-viewstack { /* before FF 102 or earlier */
/* Use the whole height */ /* Use the whole height */
height: calc(100vh - 100px) !important; height: calc(100vh - 100px) !important;
max-height: calc(100vh - 100px) !important; max-height: calc(100vh - 100px) !important;
} }
#customizationui-widget-multiview box.panel-viewstack { /* since FF 113 */
/* Use the whole height */
height: 300px !important;
max-height: 300px !important;
}
#allTabsMenu-allTabsViewTabs { #allTabsMenu-allTabsViewTabs {
/* Make sure tabs with long titles don't exceed the all tabs menu */ /* Make sure tabs with long titles don't exceed the all tabs menu */