Fixed disabling workspaces not hiding the indicator

This commit is contained in:
mr. M
2024-12-03 20:41:57 +01:00
parent f06317f3d0
commit 3b3dc28d42
3 changed files with 9 additions and 10 deletions

View File

@@ -146,9 +146,6 @@
<vbox>
<hbox>
<h3 data-l10n-id="zen-panel-ui-workspaces-text"></h3>
<hbox class="translations-panel-beta" role="image" aria-label="Beta">
<image class="translations-panel-beta-icon"></image>
</hbox>
<toolbarbutton id="PanelUI-zen-workspaces-reorder-mode" oncommand="ZenWorkspaces.toggleReorderMode();" class="subviewbutton">
<image></image>
</toolbarbutton>

View File

@@ -424,8 +424,12 @@
}
}
@media not (-moz-bool-pref: 'zen.workspaces.show-workspace-indicator') or (not (-moz-bool-pref: 'zen.workspaces.enabled')) {
@media not (-moz-bool-pref: 'zen.workspaces.show-workspace-indicator') {
#zen-current-workspace-indicator {
display: none !important;
}
}
#zen-current-workspace-indicator[hidden='true'] {
display: none !important;
}