@@ -20,9 +20,9 @@ const StyledKlerosLogo = styled(KlerosLogo)`
2020
2121const StyledTitle = styled . div `
2222 display: flex;
23- ${ responsiveSize ( "marginBottom" , 16 , 32 , 300 ) }
24- ${ responsiveSize ( "marginLeft" , 8 , 44 , 300 ) }
25- ${ responsiveSize ( "marginRight" , 8 , 44 , 300 ) }
23+ margin-bottom: ${ responsiveSize ( 16 , 32 , 300 ) } ;
24+ margin-left: ${ responsiveSize ( 8 , 44 , 300 ) } ;
25+ margin-right: ${ responsiveSize ( 8 , 44 , 300 ) } ;
2626 color: ${ ( { theme } ) => theme . secondaryText } ;
2727 text-align: center;
2828` ;
@@ -31,20 +31,20 @@ const AmountStakedOrWithdrawnContainer = styled.div`
3131 font-size: 24px;
3232 font-weight: 600;
3333 color: ${ ( { theme } ) => theme . secondaryPurple } ;
34- ${ responsiveSize ( "marginBottom" , 0 , 4 , 300 ) }
34+ margin-bottom: ${ responsiveSize ( 0 , 4 , 300 ) } ;
3535` ;
3636
3737const TotalStakeContainer = styled . div `
3838 display: flex;
3939 font-size: 14px;
4040 align-items: center;
4141 justify-content: center;
42- ${ responsiveSize ( "marginBottom" , 8 , 32 , 300 ) }
42+ margin-bottom: ${ responsiveSize ( 8 , 32 , 300 ) } ;
4343` ;
4444
4545const MyStakeContainer = styled . div `
4646 display: flex;
47- margin: 0px calc(4px + (8 - 4) * ((100vw - 300px) / (1250 - 300))) ;
47+ margin: 0px ${ responsiveSize ( 4 , 8 , 300 ) } ;
4848 color: ${ ( { theme } ) => theme . secondaryText } ;
4949` ;
5050
0 commit comments