fix(instant): remove extra container around the button
This commit is contained in:
parent
8b659dbd77
commit
feb715a08b
@ -21,8 +21,13 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay
|
|||||||
<ZeroExInstantProvider {...rest}>
|
<ZeroExInstantProvider {...rest}>
|
||||||
<Overlay zIndex={zIndex} className={OVERLAY_DIV_CLASS}>
|
<Overlay zIndex={zIndex} className={OVERLAY_DIV_CLASS}>
|
||||||
<Flex height="100vh">
|
<Flex height="100vh">
|
||||||
<Container position="absolute" top="0px" right="0px" display={{ default: 'initial', sm: 'none' }}>
|
<Container
|
||||||
<Container className={OVERLAY_CLOSE_BUTTON_DIV_CLASS}>
|
className={OVERLAY_CLOSE_BUTTON_DIV_CLASS}
|
||||||
|
position="absolute"
|
||||||
|
top="0px"
|
||||||
|
right="0px"
|
||||||
|
display={{ default: 'initial', sm: 'none' }}
|
||||||
|
>
|
||||||
<Icon
|
<Icon
|
||||||
height={18}
|
height={18}
|
||||||
width={18}
|
width={18}
|
||||||
@ -32,7 +37,6 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay
|
|||||||
padding="2em 2em"
|
padding="2em 2em"
|
||||||
/>
|
/>
|
||||||
</Container>
|
</Container>
|
||||||
</Container>
|
|
||||||
<Container
|
<Container
|
||||||
width={{ default: 'auto', sm: '100%' }}
|
width={{ default: 'auto', sm: '100%' }}
|
||||||
height={{ default: 'auto', sm: '100%' }}
|
height={{ default: 'auto', sm: '100%' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user