fix(instant): remove extra container around the button
This commit is contained in:
parent
8b659dbd77
commit
feb715a08b
@ -21,17 +21,21 @@ 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}
|
||||||
<Icon
|
position="absolute"
|
||||||
height={18}
|
top="0px"
|
||||||
width={18}
|
right="0px"
|
||||||
color={ColorOption.white}
|
display={{ default: 'initial', sm: 'none' }}
|
||||||
icon="closeX"
|
>
|
||||||
onClick={onClose}
|
<Icon
|
||||||
padding="2em 2em"
|
height={18}
|
||||||
/>
|
width={18}
|
||||||
</Container>
|
color={ColorOption.white}
|
||||||
|
icon="closeX"
|
||||||
|
onClick={onClose}
|
||||||
|
padding="2em 2em"
|
||||||
|
/>
|
||||||
</Container>
|
</Container>
|
||||||
<Container
|
<Container
|
||||||
width={{ default: 'auto', sm: '100%' }}
|
width={{ default: 'auto', sm: '100%' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user