File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,19 @@ export const DashboardContentWrapper = ({ isBorrow }: DashboardContentWrapperPro
4747 } }
4848 >
4949 { currentAccount && ! isBorrow && downToLg && (
50- < Box >
50+ < Box
51+ sx = { {
52+ position : { xs : 'static' , md : 'relative' } ,
53+ display : 'flex' ,
54+ justifyContent : 'flex-end' ,
55+ mb : { xs : 2 , md : 0 } ,
56+ } }
57+ >
5158 < Button
5259 sx = { {
53- position : ' absolute',
54- top : ' -130px',
55- right : ' 0px',
60+ position : { xs : 'static' , md : ' absolute' } ,
61+ top : { xs : 'auto' , md : ' -130px' } ,
62+ right : { xs : 'auto' , md : ' 0px' } ,
5663 } }
5764 onClick = { ( ) => {
5865 router . push ( ROUTES . history ) ;
@@ -82,11 +89,10 @@ export const DashboardContentWrapper = ({ isBorrow }: DashboardContentWrapperPro
8289 { currentAccount && (
8390 < Box
8491 sx = { {
85- position : 'absolute' ,
86-
87- top : downToLg ? '-130px' : '-90px' ,
88-
89- right : '0px' ,
92+ position : { xs : 'static' , md : 'absolute' } ,
93+ top : { xs : 'auto' , md : downToLg ? '-130px' : '-90px' } ,
94+ right : { xs : 'auto' , md : '0px' } ,
95+ mb : { xs : 2 , md : 0 } ,
9096 } }
9197 >
9298 < Button
You can’t perform that action at this time.
0 commit comments