File tree Expand file tree Collapse file tree 4 files changed +359
-106
lines changed Expand file tree Collapse file tree 4 files changed +359
-106
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,11 @@ const AssetSize = ({ totalSize }) => {
30
30
const percentSize = percentValue < 1 ? percentValue : 1 ;
31
31
32
32
return (
33
- < div className = "asset-size" style = { { '--percent' : percentSize } } >
34
- < div className = "asset-size-bar" />
35
- < p className = "asset-current" > { currentSize } ({ percent } )</ p >
33
+ < div className = "asset-size" >
34
+ < div className = "asset-size-bar" style = { { '--percent' : percentSize } } />
35
+ < p className = "asset-current" >
36
+ { currentSize } ({ percent } )
37
+ </ p >
36
38
< p className = "asset-max" > Max: { sizeLimit } </ p >
37
39
</ div >
38
40
) ;
Original file line number Diff line number Diff line change 2
2
width : 100% ;
3
3
width : #{640 / $base-font-size } rem;
4
4
max-width : 100% ;
5
- min-height : #{460 / $base-font-size } rem;
6
5
max-height : 100% ;
7
6
z-index : 9999 ;
8
7
padding : 0 #{20 / $base-font-size } rem #{2 / $base-font-size } rem #{20 /
9
8
$base-font-size } rem;
10
9
display : flex ;
11
10
flex-direction : column ;
12
11
outline : none ;
12
+ height : calc (80vh - #{65 / $base-font-size } rem );
13
+ max-height : #{460 / $base-font-size } rem;
14
+ & .react-tabs {
15
+ max-height : 100% ;
16
+ display : flex ;
17
+ flex-direction : column ;
18
+ }
19
+ & .react-tabs__tab-panel {
20
+ overflow-y : scroll ;
21
+ }
13
22
}
14
23
15
24
.preferences__exit-button {
You can’t perform that action at this time.
0 commit comments