Skip to content

Commit 4f2b969

Browse files
committed
fix: remove padding patch in bookmarks panel
close #123
1 parent eafe568 commit 4f2b969

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

src/workspace/panel/bookmark.scss

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
11
@use '../../utils.scss' as *;
22

33
@include use-panel('bookmarks') {
4-
--nav-item-color-active: var(--text-on-accent);
5-
6-
.tree-item-self {
7-
&.mod-collapsible .tree-item-icon {
8-
margin-right: var(--size-4-1);
9-
}
10-
11-
&:not(.mod-collapsible) {
12-
padding-left: var(--size-2-3);
13-
14-
.tree-item-icon {
15-
transform: translateY(var(--size-2-1));
16-
color: var(--accent-active);
17-
width: calc(1.3 * var(--size-4-4));
18-
}
19-
}
20-
}
21-
22-
.tree-item-self.is-active .tree-item-icon {
23-
color: var(--nav-item-color-active);
4+
.is-active:not(.is-selected) {
5+
--nav-item-color-active: var(--text-on-accent);
6+
--icon-color: var(--nav-item-color-active);
247
}
258
}

0 commit comments

Comments
 (0)