Add stable CSS classes
This commit is contained in:
@@ -18,7 +18,7 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay
|
|||||||
const { onClose, zIndex, ...rest } = props;
|
const { onClose, zIndex, ...rest } = props;
|
||||||
return (
|
return (
|
||||||
<ZeroExInstantProvider {...rest}>
|
<ZeroExInstantProvider {...rest}>
|
||||||
<Overlay zIndex={zIndex}>
|
<Overlay zIndex={zIndex} className="zeroExInstantOverlay">
|
||||||
<Flex height="100vh">
|
<Flex height="100vh">
|
||||||
<Container position="absolute" top="0px" right="0px" display={{ default: 'initial', sm: 'none' }}>
|
<Container position="absolute" top="0px" right="0px" display={{ default: 'initial', sm: 'none' }}>
|
||||||
<Icon
|
<Icon
|
||||||
@@ -30,7 +30,11 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay
|
|||||||
padding="2em 2em"
|
padding="2em 2em"
|
||||||
/>
|
/>
|
||||||
</Container>
|
</Container>
|
||||||
<Container width={{ default: 'auto', sm: '100%' }} height={{ default: 'auto', sm: '100%' }}>
|
<Container
|
||||||
|
width={{ default: 'auto', sm: '100%' }}
|
||||||
|
height={{ default: 'auto', sm: '100%' }}
|
||||||
|
className="zeroExInstantMainContainer"
|
||||||
|
>
|
||||||
<ZeroExInstantContainer />
|
<ZeroExInstantContainer />
|
||||||
</Container>
|
</Container>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
Reference in New Issue
Block a user