File tree Expand file tree Collapse file tree 8 files changed +44
-14
lines changed
MyDefiedgePoolsV3/DefiedgeLPItemDetails
MyGammaPoolsV3/GammaLPItem
MyQuickswapPoolsV3/components/PositionList Expand file tree Collapse file tree 8 files changed +44
-14
lines changed Original file line number Diff line number Diff line change 11@use ' styles/variables' as * ;
22@use ' styles/breakpoints' as * ;
33
4- .gamma -liquidity-item-buttons {
4+ .defiedge -liquidity-item-buttons {
55 display : flex ;
66 justify-content : space-between ;
77 flex-wrap : wrap ;
1616 }
1717}
1818
19- .gamma -liquidity-item-button {
20- height : 48 px ;
21- border-radius : 16 px ;
19+ .defiedge -liquidity-item-button {
20+ height : 38 px ;
21+ border-radius : 10 px ;
2222}
Original file line number Diff line number Diff line change @@ -89,15 +89,15 @@ const DefiedgeLPItemDetails: React.FC<{ defiedgePosition: any }> = ({
8989 < small > { balance1 ? formatNumber ( balance1 ) : 0 } </ small >
9090 </ Box >
9191 </ Box >
92- < Box mt = { 2 } className = 'gamma -liquidity-item-buttons' >
92+ < Box mt = { 2 } className = 'defiedge -liquidity-item-buttons' >
9393 < Button
94- className = 'gamma -liquidity-item-button'
94+ className = 'defiedge -liquidity-item-button'
9595 onClick = { ( ) => setShowAddLPModal ( true ) }
9696 >
9797 < small > { t ( 'addLiquidity' ) } </ small >
9898 </ Button >
9999 < Button
100- className = 'gamma -liquidity-item-button'
100+ className = 'defiedge -liquidity-item-button'
101101 onClick = { ( ) => setShowWithdrawModal ( true ) }
102102 disabled = { defiedgePosition . lpAmount <= 0 }
103103 >
Original file line number Diff line number Diff line change 55 background-color : $secondary1 ;
66 padding : 20px ;
77 border-radius : 10px ;
8+ position : relative ;
89 margin-top : 16px ;
910 @include media (' screen' , ' <phone' ) {
1011 padding : 16px 12px ;
2122}
2223
2324.gamma-liquidity-item-expand {
24- cursor : pointer ;
25+ position : absolute ;
2526 width : 24px ;
2627 height : 24px ;
28+ display : flex ;
29+ align-items : center ;
30+ justify-content : center ;
31+ border-radius : 12px ;
32+ background-color : $primaryLight ;
33+ color : $primary ;
34+ right : 20px ;
35+ top : 20px ;
36+ cursor : pointer ;
2737}
Original file line number Diff line number Diff line change 55 background-color : $secondary1 ;
66 padding : 20px ;
77 border-radius : 10px ;
8+ position : relative ;
89 margin-top : 16px ;
910 @include media (' screen' , ' <phone' ) {
1011 padding : 16px 12px ;
2122}
2223
2324.ichi-liquidity-item-expand {
24- cursor : pointer ;
25+ position : absolute ;
2526 width : 24px ;
2627 height : 24px ;
28+ display : flex ;
29+ align-items : center ;
30+ justify-content : center ;
31+ border-radius : 12px ;
32+ background-color : $primaryLight ;
33+ color : $primary ;
34+ right : 20px ;
35+ top : 20px ;
36+ cursor : pointer ;
2737}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default function PositionList({
4242 } , [ positions ] ) ;
4343
4444 return (
45- < Box mb = { - 2 } >
45+ < Box >
4646 { _positionsOnOldFarming . map ( ( p ) => {
4747 return (
4848 < Box mb = { 2 } key = { p . tokenId . toString ( ) } >
Original file line number Diff line number Diff line change 55 background-color : $secondary1 ;
66 padding : 20px ;
77 border-radius : 10px ;
8+ position : relative ;
89 margin-top : 16px ;
910 @include media (' screen' , ' <phone' ) {
1011 padding : 16px 12px ;
2122}
2223
2324.steer-liquidity-item-expand {
24- cursor : pointer ;
25+ position : absolute ;
2526 width : 24px ;
2627 height : 24px ;
28+ display : flex ;
29+ align-items : center ;
30+ justify-content : center ;
31+ border-radius : 12px ;
32+ background-color : $primaryLight ;
33+ color : $primary ;
34+ right : 20px ;
35+ top : 20px ;
36+ cursor : pointer ;
2737}
Original file line number Diff line number Diff line change 1717}
1818
1919.steer-liquidity-item-button {
20- height : 48 px ;
21- border-radius : 16 px ;
20+ height : 38 px ;
21+ border-radius : 10 px ;
2222}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default function MySteerPoolsV3({ isForAll }: { isForAll?: boolean }) {
1919 return (
2020 < >
2121 { steerPositions && steerPositions . length > 0 ? (
22- < Box style = { { marginTop : '32px' } } >
22+ < Box >
2323 { steerPositions . map ( ( position , index ) => (
2424 < SteerLPItem key = { index } position = { position } />
2525 ) ) }
You can’t perform that action at this time.
0 commit comments