File tree Expand file tree Collapse file tree 6 files changed +22
-36
lines changed Expand file tree Collapse file tree 6 files changed +22
-36
lines changed Original file line number Diff line number Diff line change 1919}
2020
2121.badgeIcon {
22- max-width : 10 px ;
22+ max-width : 1 rem ;
2323}
2424
2525.withChildren .badgeIcon {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const ConnectedKeystore = ({
5353 < >
5454 { ' ' }
5555 < Badge
56- icon = { props => < USBSuccess { ...props } /> }
56+ icon = { props => < USBSuccess style = { { width : '0.9rem' , height : '0.9rem' } } { ...props } /> }
5757 title = { t ( 'device.keystoreConnected' ) }
5858 type = "success" >
5959 { connectedIconOnly ? undefined : t ( 'device.keystoreConnected' ) }
Original file line number Diff line number Diff line change 33 display : flex;
44 flex-wrap : wrap;
55 flex-grow : 1 ;
6+ gap : var (--spacing-half );
67}
78
89.pillbuttongroup button {
910 appearance : none;
1011 background : var (--background-secondary );
11- border : 2 px solid var (--background-secondary );
12- border-radius : 32 px ;
12+ border : 0.1 rem solid var (--background-secondary );
13+ border-radius : 36 px ;
1314 color : var (--color-default );
14- font-size : var (--size-default );
15+ font-size : min ( var (--size-default ) , 18 px );
1516 line-height : 1.75 ;
1617 margin-bottom : var (--spacing-half );
17- margin-left : var (--spacing-half );
1818}
1919
2020.pillbuttongroup .medium button {
21- padding : 0 calc ( var ( --spacing-default ) * .75 ) ;
21+ padding : 0 12 px ;
2222}
2323
2424.pillbuttongroup .large button {
25- font-size : calc (var (--size-default ) + 1px );
26- padding : 2px calc (var (--spacing-default ) * 1.5 );
27- }
28-
29- .pillbuttongroup button : first-child {
30- margin-left : 0 ;
25+ font-size : min (calc (var (--size-default ) + 1px ), 24px );
26+ padding : 2px 24px ;
3127}
3228
3329.pillbuttongroup button : hover : not ([disabled ]) {
6056 border-color : var (--background-secondary );
6157 color : var (--color-disabled );
6258}
63-
64- @media (max-width : 768px ) {
65- .pillbuttongroup .lg button {
66- font-size : calc (var (--size-default ));
67- padding : 2px calc (var (--spacing-default ) * 1.25 );
68- }
69- }
Original file line number Diff line number Diff line change 101101}
102102
103103.coinName {
104+ align-items : center;
104105 display : flex;
105106}
106107
107108.coinName img {
108109 flex-shrink : 0 ;
109110 margin-right : var (--spacing-default );
110- vertical-align : middle;
111111}
112112
113113.coinUnit {
188188 padding-bottom : var (--spacing-default );
189189 }
190190
191- .coinName {
192- position : relative;
193- }
194-
195- .coinName img {
196- left : -32px ;
197- position : absolute;
198- top : -3px ;
199- }
200191}
Original file line number Diff line number Diff line change 8282}
8383
8484.totalValue {
85- font-size : 3.2rem ;
86- display : flex;
8785 align-items : flex-end;
86+ display : flex;
87+ font-size : min (3.2rem , 40px );
8888}
8989
9090.totalUnit {
9191 color : var (--color-secondary );
9292 display : inline-block;
93+ font-size : min (2rem , 25px );
9394 margin-bottom : 3px ;
94- font-size : 2.2rem ;
9595 padding : 0 4px ;
9696}
9797
Original file line number Diff line number Diff line change 11
2+ .arrow {
3+ line-height : 1 ;
4+ vertical-align : text-bottom;
5+ }
6+
27.arrow img {
8+ height : min (2rem , 25px );
39 margin-right : 4px ;
4- vertical-align : text-bottom ;
10+ width : min ( 2 rem , 25 px ) ;
511}
612
713.up {
1319}
1420
1521.diffValue {
16- font-size : 1.9 rem ;
22+ font-size : min ( 2 rem , 25 px ) ;
1723}
1824
1925.diffUnit {
20- font-size : 1.6rem ;
26+ font-size : min ( 1.6rem , 20 px ); /* var(--size-default); */
2127 padding : 0 4px ;
2228}
You can’t perform that action at this time.
0 commit comments