Tabsbar: Hide all-tabs menu and only show it when the tabs are

overflowing

Better approach for #433
This commit is contained in:
Rafael Mardojai CM 2022-10-20 18:02:33 -05:00
parent 580bb11cd3
commit 032ec098f4
No known key found for this signature in database
GPG Key ID: 2B2DAB2A58566C84
2 changed files with 9 additions and 5 deletions

View File

@ -175,11 +175,7 @@ Optional features can be enabled by creating new `boolean` preferences in `about
Hide the tab bar when only one tab is open.
> **Note:**
>
> You should move the new tab button somewhere else for this to work, because by default it is on the tab bar too.
>
> You also need to set `browser.tabs.tabmanager.enabled` to `false` in `about:config`.
> **Note:** You should move the new tab button out of the tabbar or it will be hidden when there is only one tab. You can rearrange the toolbars doing a right-click on any toolbar and selecting "Customize Toolbar…".
- **Normal width tabs** `gnomeTheme.normalWidthTabs`

View File

@ -442,6 +442,14 @@ tab {
}
}
/* Tabs manager menu */
#alltabs-button {
visibility: collapse;
}
#tabbrowser-tabs[overflow="true"] ~ #alltabs-button {
visibility: visible;
}
/* Firefox View */
#TabsToolbar #firefox-view-button .toolbarbutton-icon {
box-shadow: none !important;