File tree Expand file tree Collapse file tree 3 files changed +28
-20
lines changed Expand file tree Collapse file tree 3 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 11.insured {
2- padding : 4px 10px ;
3- border-radius : var (--space-half );
4- border : 1px solid;
5- font-size : var (--size-smaller );
6- line-height : 14px ;
7- background : var (--color-palegreen );
8- border-color : var (--color-lightgreen );
9- color : var (--color-darkgreen );
10- margin : 0px 10px ;
11- text-decoration : none;
12- white-space : nowrap;
13- max-height : 24px ;
2+ background : var (--color-palegreen );
3+ border-radius : var (--space-half );
4+ border : 1px solid;
5+ border-color : var (--color-lightgreen );
6+ color : var (--color-darkgreen );
7+ font-size : var (--size-smaller );
8+ margin : 0px 10px ;
9+ max-height : 2.4rem ;
10+ padding : .4rem 10px ;
11+ text-decoration : none;
12+ white-space : nowrap;
1413}
1514
1615.insured div {
Original file line number Diff line number Diff line change 1616
1717.button {
1818 font-size : var (--size-default );
19- height : calc (var (--space-default ) + var (--space-quarter ));
2019 padding : 0 24px ;
2120}
2221
2625 margin-right : var (--space-quarter );
2726}
2827
28+ .externalLink {
29+ align-items : baseline;
30+ display : flex;
31+ }
32+
33+ .externalLink img {
34+ max-height : var (--size-default );
35+ max-width : var (--size-default );
36+ }
37+
2938.coverageContainer {
3039 margin : var (--space-half ) 0 ;
3140}
Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ type TInsurancesByCode = {
5050const AccountStatusIcon = ( { status } : TAccountStatusIconProps ) => {
5151 switch ( status ) {
5252 case 'active' :
53- return < GreenDot width = { 14 } height = { 20 } /> ;
53+ return < GreenDot width = { 14 } /> ;
5454 case 'processing' :
5555 case 'waitpayment' :
56- return < YellowDot width = { 14 } height = { 20 } /> ;
56+ return < YellowDot width = { 14 } /> ;
5757 case 'refused' :
58- return < RedDot width = { 14 } height = { 20 } /> ;
58+ return < RedDot width = { 14 } /> ;
5959 case 'inactive' :
60- return < OrangeDot width = { 14 } height = { 20 } /> ;
60+ return < OrangeDot width = { 14 } /> ;
6161 case 'canceled' :
62- return < RedDot width = { 14 } height = { 20 } /> ;
62+ return < RedDot width = { 14 } /> ;
6363 }
6464} ;
6565
@@ -200,8 +200,8 @@ export const BitsuranceDashboard = ({ accounts }: TProps) => {
200200 className = { `${ style . text || '' } ${ style . link || '' } m-top-quarter-on-small` }
201201 href = { insurance . details . support }
202202 >
203- < div className = "flex" >
204- < ExternalLink width = { 16 } />
203+ < div className = { style . externalLink } >
204+ < ExternalLink />
205205 < span className = "m-left-quarter" >
206206 { t ( 'bitsurance.dashboard.supportLink' ) }
207207 </ span >
You can’t perform that action at this time.
0 commit comments