Skip to content

Commit

Permalink
fix: changed button position
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola Grujicic authored and Nikola Grujicic committed Dec 22, 2023
1 parent 433143b commit ab07404
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/organism/SwapTokens/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1218,14 +1218,7 @@ const SwapTokens = () => {
disabled={!selectedAccount || swapLoading || !tokenBalances?.assets || poolsTokenMetadata.length === 0}
assetLoading={assetLoading}
/>
<button
className="absolute top-[170px] z-50"
onClick={() => {
handleSwitchTokens();
}}
>
<SwitchArrow />
</button>

<TokenAmountInput
tokenText={selectedTokens.tokenB?.tokenSymbol}
tokenBalance={selectedTokens.tokenB?.tokenBalance}
Expand All @@ -1241,7 +1234,14 @@ const SwapTokens = () => {
disabled={!selectedAccount || swapLoading || !tokenBalances?.assets || poolsTokenMetadata.length === 0}
assetLoading={assetLoading}
/>

<button
className="absolute top-[170px]"
onClick={() => {
handleSwitchTokens();
}}
>
<SwitchArrow />
</button>
<div className="mt-1 text-small">{swapGasFeesMessage}</div>

<div className="flex w-full flex-col gap-2 rounded-lg bg-purple-50 px-4 py-6">
Expand Down

0 comments on commit ab07404

Please sign in to comment.