Skip to content

Commit 52e66ff

Browse files
committed
[mv3] Hide list group which have no list
Related discussion: uBlockOrigin/uBOL-home#713
1 parent 54d2302 commit 52e66ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎platform/mv3/extension/css/settings.css‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ section[data-pane="rulesets"] > div:first-of-type > p:last-of-type {
145145
.listEntry[data-role="rootnode"] > .detailbar > *:not(.listExpander) {
146146
pointer-events: none;
147147
}
148+
.listEntry[data-role="rootnode"]:has(> .listEntries:empty) {
149+
display: none;
150+
}
148151
.listEntry .detailbar .count {
149152
align-self: flex-end;
150153
color: var(--ink-3);

0 commit comments

Comments
 (0)