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 44}
55
66.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;
88 display : flex ;
99 justify-content : space-between ;
1010 align-items : center ;
5454.sidebar__root-item {
5555 position : relative ;
5656 overflow-y : auto ;
57+ padding-top : #{6 / $base-font-size } rem;
5758 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+ }
6063 }
6164 .sidebar--contracted & {
6265 border : none ;
6366 }
6467}
6568
69+ .file-item__children {
70+ display : flex ;
71+ flex-direction : column ;
72+ gap : #{4 / $base-font-size } rem;
73+ }
74+
6675.sidebar__file-item {
6776 font-size : #{12 / $base-font-size } rem;
6877 cursor : pointer ;
7887
7988.sidebar__file-item--folder {
8089 z-index : 1 ;
90+ display : flex ;
91+ align-items : center ;
92+ > button {
93+ padding-left : #{1 / $base-font-size } rem;
94+ }
8195}
8296
8397// to indent each row in the file tree
136150 padding : #{4 / $base-font-size } rem 0 ;
137151 padding-right : #{25 / $base-font-size } rem;
138152 font-family : Inconsolata, monospace ;
139- font-size : #{14 / $base-font-size } rem;
153+ font-size : #{15 / $base-font-size } rem;
140154 overflow : hidden ;
141155 .sidebar__file-item--editing & {
142156 display : none ;
275289}
276290
277291.sidebar__file-item-icon {
278- padding : #{4 / $base-font-size } rem 0 ;
279292 margin-right : #{5 / $base-font-size } rem;
293+ display : flex ;
294+ align-items : center ;
280295 & path {
281296 @include themify () {
282297 fill : getThemifyVariable (' secondary-text-color' );
You can’t perform that action at this time.
0 commit comments