File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 4
4
}
5
5
6
6
.sidebar__header {
7
- padding : #{10 / $base-font-size } rem #{12 / $base-font-size } rem;
7
+ padding : #{8 / $base-font-size } rem #{12 / $base-font-size } rem;
8
8
display : flex ;
9
9
justify-content : space-between ;
10
10
align-items : center ;
54
54
.sidebar__root-item {
55
55
position : relative ;
56
56
overflow-y : auto ;
57
+ padding-top : #{6 / $base-font-size } rem;
57
58
flex : 1 1 auto ;
58
- @include themify () {
59
- border-top : 1px solid map-get ($theme-map , ' ide-border-color' );
59
+ @media (min-width : 770px ) {
60
+ @include themify () {
61
+ border-top : 1px solid map-get ($theme-map , ' ide-border-color' );
62
+ }
60
63
}
61
64
.sidebar--contracted & {
62
65
border : none ;
63
66
}
64
67
}
65
68
69
+ .file-item__children {
70
+ display : flex ;
71
+ flex-direction : column ;
72
+ gap : #{4 / $base-font-size } rem;
73
+ }
74
+
66
75
.sidebar__file-item {
67
76
font-size : #{12 / $base-font-size } rem;
68
77
cursor : pointer ;
78
87
79
88
.sidebar__file-item--folder {
80
89
z-index : 1 ;
90
+ display : flex ;
91
+ align-items : center ;
92
+ > button {
93
+ padding-left : #{1 / $base-font-size } rem;
94
+ }
81
95
}
82
96
83
97
// to indent each row in the file tree
136
150
padding : #{4 / $base-font-size } rem 0 ;
137
151
padding-right : #{25 / $base-font-size } rem;
138
152
font-family : Inconsolata, monospace ;
139
- font-size : #{14 / $base-font-size } rem;
153
+ font-size : #{15 / $base-font-size } rem;
140
154
overflow : hidden ;
141
155
.sidebar__file-item--editing & {
142
156
display : none ;
275
289
}
276
290
277
291
.sidebar__file-item-icon {
278
- padding : #{4 / $base-font-size } rem 0 ;
279
292
margin-right : #{5 / $base-font-size } rem;
293
+ display : flex ;
294
+ align-items : center ;
280
295
& path {
281
296
@include themify () {
282
297
fill : getThemifyVariable (' secondary-text-color' );
You can’t perform that action at this time.
0 commit comments