Skip to content

Commit

Permalink
Implement gnomeTheme.hideSingleTab pref
Browse files Browse the repository at this point in the history
Initial support for @supports -moz-bool-pref()
Related to #137
  • Loading branch information
rafaelmardojai committed Jun 7, 2020
1 parent 52b31ce commit 9b3ee5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions theme/parts/tabsbar.css
Expand Up @@ -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;
}
}

0 comments on commit 9b3ee5c

Please sign in to comment.