Commit 882147b5 authored by Kaylee George's avatar Kaylee George Committed by GitHub

fix: revert "fix button jump on currency panel" (#4083)

fix padding
parent eb06aef1
...@@ -271,15 +271,14 @@ export default function CurrencyInputPanel({ ...@@ -271,15 +271,14 @@ export default function CurrencyInputPanel({
</Aligner> </Aligner>
</CurrencySelect> </CurrencySelect>
</InputRow> </InputRow>
{!hideInput && !hideBalance && currency && (
<FiatRow> <FiatRow>
{!hideInput && !hideBalance && currency && (
<RowBetween> <RowBetween>
<LoadingOpacityContainer $loading={loading}> <LoadingOpacityContainer $loading={loading}>
<FiatValue fiatValue={fiatValue} priceImpact={priceImpact} /> <FiatValue fiatValue={fiatValue} priceImpact={priceImpact} />
</LoadingOpacityContainer> </LoadingOpacityContainer>
{account ? ( {account ? (
<RowFixed> <RowFixed style={{ height: '17px' }}>
<ThemedText.Body <ThemedText.Body
onClick={onMax} onClick={onMax}
color={theme.text3} color={theme.text3}
...@@ -305,8 +304,8 @@ export default function CurrencyInputPanel({ ...@@ -305,8 +304,8 @@ export default function CurrencyInputPanel({
<span /> <span />
)} )}
</RowBetween> </RowBetween>
)} </FiatRow>
</FiatRow> )}
</Container> </Container>
{onCurrencySelect && ( {onCurrencySelect && (
<CurrencySearchModal <CurrencySearchModal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment