Implement gnomeTheme.hideSingleTab pref

Initial support for @supports -moz-bool-pref()
Related to #137
This commit is contained in:
Rafael Mardojai CM 2020-06-07 08:19:31 -05:00
parent 52b31cea5a
commit 9b3ee5cecc
1 changed files with 7 additions and 0 deletions

View File

@ -275,3 +275,10 @@ tab[selected]:-moz-window-inactive {
position: relative;
margin-right: -10px;
}
/* OPTIONAL: Hide Single Tab */
@supports -moz-bool-pref("gnomeTheme.hideSingleTab") {
#tabbrowser-tabs tab:only-of-type {
display: none !important;
}
}