Skip to content

Commit

Permalink
Hide screws on disabled folders
Browse files Browse the repository at this point in the history
  • Loading branch information
cocopon committed Jan 22, 2023
1 parent fe11766 commit fd8965c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/core/lib/sass/view/_folder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
&_m {
@extend %folder_mark;
}
&_b:disabled &_m {
display: none;
}
&#{&}-expanded > &_b > &_m {
@extend %folder_mark-expanded;
}
Expand Down
5 changes: 4 additions & 1 deletion packages/tweakpane/src/main/sass/bundle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
// no title
&#{&}-not &_b {
// no title
display: none;
}
&_m {
@extend %folder_mark;
}
&_b:disabled &_m {
display: none;
}
&#{&}-expanded &_m {
@extend %folder_mark-expanded;
}
Expand Down

0 comments on commit fd8965c

Please sign in to comment.