Commit 462f2482 authored by Moody Salem's avatar Moody Salem

Fix the shifting between send/swap tabs

parent 2ff8f5a7
...@@ -125,14 +125,15 @@ export default function TokenWarningCard({ token, ...rest }: TokenWarningCardPro ...@@ -125,14 +125,15 @@ export default function TokenWarningCard({ token, ...rest }: TokenWarningCardPro
const WarningContainer = styled.div` const WarningContainer = styled.div`
max-width: 420px; max-width: 420px;
width: 100%; width: 100%;
padding: 1rem; padding-left: 1rem;
padding-right: 1rem;
` `
export function TokenWarningCards({ tokens }: { tokens: { [field in Field]?: Token } }) { export function TokenWarningCards({ tokens }: { tokens: { [field in Field]?: Token } }) {
return ( return (
<WarningContainer> <WarningContainer>
{Object.keys(tokens).map(field => {Object.keys(tokens).map(field =>
tokens[field] ? <TokenWarningCard style={{ marginBottom: 10 }} key={field} token={tokens[field]} /> : null tokens[field] ? <TokenWarningCard style={{ marginBottom: 14 }} key={field} token={tokens[field]} /> : null
)} )}
</WarningContainer> </WarningContainer>
) )
......
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