Commit ca829a35 authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: tx screen overflow (#5282)

fix tx screen overflow
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent 8464fc70
...@@ -11,14 +11,18 @@ export const modalContainer = style([ ...@@ -11,14 +11,18 @@ export const modalContainer = style([
left: { sm: '0', md: '1/2' }, left: { sm: '0', md: '1/2' },
top: '0', top: '0',
zIndex: 'modal', zIndex: 'modal',
overflow: 'scroll',
paddingY: '72',
}), }),
{ {
alignContent: 'center', justifyContent: 'center',
'@media': { '@media': {
'screen and (min-width: 656px)': { 'screen and (min-width: 656px)': {
marginLeft: '-320px', marginLeft: '-320px',
}, },
}, },
'::-webkit-scrollbar': { display: 'none' },
scrollbarWidth: 'none',
}, },
]) ])
......
...@@ -137,7 +137,7 @@ const TxCompleteModal = () => { ...@@ -137,7 +137,7 @@ const TxCompleteModal = () => {
</Box> </Box>
<Box>{formatEthPrice(totalPurchaseValue.toString())} ETH</Box> <Box>{formatEthPrice(totalPurchaseValue.toString())} ETH</Box>
</Row> </Row>
<a href={txHashUrl} target="_blank" rel="noreferrer"> <a href={txHashUrl} target="_blank" rel="noreferrer" style={{ textDecoration: 'none' }}>
<Box color="textPrimary" fontWeight="normal"> <Box color="textPrimary" fontWeight="normal">
{shortenTxHash(txHash, 2, 2)} {shortenTxHash(txHash, 2, 2)}
</Box> </Box>
...@@ -202,7 +202,7 @@ const TxCompleteModal = () => { ...@@ -202,7 +202,7 @@ const TxCompleteModal = () => {
marginRight={{ sm: '40', md: '24' }} marginRight={{ sm: '40', md: '24' }}
width={{ sm: 'half', md: 'auto' }} width={{ sm: 'half', md: 'auto' }}
> >
<a href={txHashUrl} target="_blank" rel="noreferrer"> <a href={txHashUrl} target="_blank" rel="noreferrer" style={{ textDecoration: 'none' }}>
<Box fontWeight="normal" marginTop="16" className={styles.totalEthCost}> <Box fontWeight="normal" marginTop="16" className={styles.totalEthCost}>
{shortenTxHash(txHash, 2, 2)} {shortenTxHash(txHash, 2, 2)}
</Box> </Box>
......
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