File tree Expand file tree Collapse file tree 5 files changed +16
-4
lines changed
Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,8 @@ $block: '.#{$ns}sidebar';
1313 & __block {
1414 width : 100% ;
1515 border-bottom : 1px solid var (--g-color-line-generic );
16+ overflow-x : scroll ;
17+ box-sizing : border-box ;
18+ flex : 0 0 auto ;
1619 }
1720}
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ $block: '.#{$ns}tabs';
66#{$block } {
77 overflow : auto ;
88 width : 100% ;
9+ display : flex ;
10+ flex-direction : column ;
911
1012 & __item {
1113 color : var (--g-color-text-hint );
@@ -25,11 +27,14 @@ $block: '.#{$ns}tabs';
2527 display : inline-flex ;
2628 flex-direction : row ;
2729 padding : 16px 4px ;
30+ flex : 0 0 auto ;
31+ box-sizing : border-box ;
32+ overflow-x : auto ;
2833 }
2934
3035 & __body {
3136 flex : 1 ;
32- border-right : 1px solid var ( --g-color-line-generic ) ;
37+ min-height : 1px ;
3338 overflow-y : auto ;
3439 }
3540}
Original file line number Diff line number Diff line change 44$block : ' .#{$ns } global-config' ;
55
66#{$block } {
7- padding : 12px ;
8-
97 & __title {
10- margin-bottom : 16 px ;
8+ padding : 12 px ;
119 margin-top : 8px ;
1210 @include text-subheader-3 ;
11+ border-bottom : 1px solid var (--g-color-line-generic );
1312 }
1413}
Original file line number Diff line number Diff line change @@ -12,5 +12,9 @@ $block: '.#{$ns}view-switches';
1212 & __zoom {
1313 display : flex ;
1414 gap : 4px ;
15+
16+ & -select {
17+ min-width : 80px ;
18+ }
1519 }
1620}
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ const ViewSwitches: React.FC = () => {
9999 </ Button >
100100
101101 < Select
102+ className = { b ( 'zoom-select' ) }
102103 multiple = { false }
103104 value = { currentZoomValue }
104105 options = { zoomOptions }
You can’t perform that action at this time.
0 commit comments