File tree Expand file tree Collapse file tree 3 files changed +6
-21
lines changed Expand file tree Collapse file tree 3 files changed +6
-21
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ const FILTER_OPTIONS = {
40
40
const tableSettings = {
41
41
...DEFAULT_TABLE_SETTINGS ,
42
42
defaultOrder : DataTable . DESCENDING ,
43
- stickyTop : 62 ,
44
43
} ;
45
44
46
45
class Storage extends React . Component {
Original file line number Diff line number Diff line change 1
1
@import ' ../../styles/mixins.scss' ;
2
2
3
3
.global-storage {
4
- display : flex ;
5
- overflow : auto ;
6
- flex-direction : column ;
7
- align-items : flex-start ;
8
-
9
4
height : 100% ;
10
5
max-height : 100% ;
6
+ @include flex-container ;
11
7
12
8
& __controls {
13
- position : sticky ;
14
- z-index : 2 ;
15
- top : 0 ;
16
-
17
- width : 100% ;
18
-
19
- background-color : var (--yc-color-base-background );
20
9
@include controls ();
21
10
}
22
11
& __search {
23
12
@include search ();
24
13
}
25
14
26
15
& __table-wrapper {
27
- display : flex ;
28
- flex : 1 1 auto ;
29
- flex-direction : column ;
30
-
31
- min-width : 100% ;
16
+ overflow : auto ;
17
+ flex-grow : 1 ;
32
18
33
19
font-size : var (--yc-text-body2-font-size );
34
20
line-height : var (--yc-text-body2-line-height );
Original file line number Diff line number Diff line change 40
40
padding : 0 20px ;
41
41
42
42
& .global-storage {
43
- height : calc ( 100 % + 16 px );
44
- max-height : calc ( 100 % + 16 px ) ;
45
- margin-top : -16 px ;
43
+ & __controls {
44
+ padding-top : 0 ;
45
+ }
46
46
}
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments