Fix: Sound Tab - Apply userChrome.tab.sound_show_label preferentially

This commit is contained in:
alstjr7375 2022-08-22 14:57:50 +09:00
parent 839357cf5b
commit d9685ac6bd
2 changed files with 7 additions and 3 deletions

View file

@ -6208,8 +6208,10 @@
/*= Sound Tab ================================================================*/
/*= Sound Tab - Hide Label ===================================================*/
@supports -moz-bool-pref("userChrome.tab.sound_hide_label") {
.tab-secondary-label:is([soundplaying], [muted], [activemedia-blocked], [pictureinpicture]) {
display: none !important;
@supports not -moz-bool-pref("userChrome.tab.sound_show_label") {
.tab-secondary-label:is([soundplaying], [muted], [activemedia-blocked], [pictureinpicture]) {
display: none !important;
}
}
}
/*= Sound Tab - Show Label ===================================================*/

View file

@ -1,6 +1,8 @@
/*= Sound Tab - Hide Label ===================================================*/
@include Option("userChrome.tab.sound_hide_label") {
@import "sound_tab/hide_label";
@include NotOption("userChrome.tab.sound_show_label") {
@import "sound_tab/hide_label";
}
}
/*= Sound Tab - Show Label ===================================================*/