mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
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:
parent
3dcfd01d09
commit
8cbf7c9e30
1 changed files with 6 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue