File tree 3 files changed +9
-7
lines changed
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 3
3
$collapse__extra : #{$collapse } __extra;
4
4
$split_pane_visible : #{$split } __pane__item--visible ;
5
5
6
+ $header-size : 26px ;
7
+
6
8
#{$collapse } {
7
9
background-color : var (--sideBar-background );
8
10
color : var (--sideBar-foreground );
@@ -44,7 +46,7 @@ $split_pane_visible: #{$split}__pane__item--visible;
44
46
display : flex ;
45
47
font-size : 11px ;
46
48
font-weight : bold ;
47
- height : 26 px ;
49
+ height : $header-size ;
48
50
outline : 1px solid transparent ;
49
51
outline-offset : -1px ;
50
52
padding : 1px 2px ;
@@ -73,9 +75,10 @@ $split_pane_visible: #{$split}__pane__item--visible;
73
75
74
76
& __content {
75
77
flex : 1 ;
76
- height : calc (100% - 25 px );
78
+ height : calc (100% - $header-size );
77
79
outline : 1px solid transparent ;
78
80
outline-offset : -1px ;
81
+ padding : 0 1px ;
79
82
80
83
& :focus {
81
84
outline-color : var (--list-focusOutline );
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ $treenode-height: 22px;
27
27
}
28
28
29
29
& __title {
30
- margin-left : 5px ;
31
30
overflow : hidden ;
31
+ padding-left : 5px ;
32
32
text-overflow : ellipsis ;
33
33
white-space : nowrap ;
34
34
width : 100% ;
Original file line number Diff line number Diff line change 32
32
border : 1px solid var (--list-focusOutline );
33
33
color : var (--input-foreground );
34
34
font-family : inherit ;
35
- font-size : 13px ;
36
- height : 20px ;
37
- left : 0 ;
35
+ font-size : inherit ;
36
+ left : -2px ;
38
37
margin : 0 ;
39
38
outline : none ;
40
- padding : 0 ;
39
+ padding : 2 px 1 px ;
41
40
position : relative ;
42
41
width : calc (100% - 2px );
43
42
You can’t perform that action at this time.
0 commit comments