mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-15 15:20:33 -08:00
Add: Tabbar - Fill width #458
This commit is contained in:
parent
b435705098
commit
4beeab67e2
3 changed files with 14 additions and 0 deletions
|
|
@ -5989,6 +5989,14 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
/*= Tab Bar - Show only current tab ==========================================*/
|
||||
@supports -moz-bool-pref("userChrome.tabbar.fill_width") {
|
||||
/* Why 100vw? Tab closing requires width animation to end and "none" can't be animated */
|
||||
.tabbrowser-tab[fadein]:not([style^="max-width"]) {
|
||||
--tab-max-width: 100vw;
|
||||
max-width: var(--tab-max-width) !important;
|
||||
}
|
||||
}
|
||||
/** Tab UI ****************************************************************/
|
||||
/*= Tab - Connect to window ==============================================*/
|
||||
@supports -moz-bool-pref("userChrome.tab.connect_to_window") {
|
||||
|
|
|
|||
|
|
@ -42,3 +42,8 @@
|
|||
@include Option("userChrome.tabbar.as_titlebar") {
|
||||
@import "as_titlebar";
|
||||
}
|
||||
|
||||
/*= Tab Bar - Show only current tab ==========================================*/
|
||||
@include Option("userChrome.tabbar.fill_width") {
|
||||
@import "fill_width";
|
||||
}
|
||||
|
|
|
|||
1
user.js
1
user.js
|
|
@ -129,6 +129,7 @@ user_pref("userChrome.rounding.square_tab", false);
|
|||
// user_pref("userChrome.urlView.always_show_page_actions", true);
|
||||
|
||||
// user_pref("userChrome.tabbar.as_titlebar", true);
|
||||
// user_pref("userChrome.tabbar.fill_width", true);
|
||||
// user_pref("userChrome.tabbar.on_bottom", true);
|
||||
// user_pref("userChrome.tabbar.on_bottom.above_bookmark", true); // Need on_bottom
|
||||
// user_pref("userChrome.tabbar.on_bottom.menubar_on_top", true); // Need on_bottom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue