aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 09:13:35 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 09:13:35 +0800
commitf3d08c13ebf337f4f5e174dd003cd436a6ad5417 (patch)
tree85d837569ebb7aeed4c23e5ca713e02c1ce677f4 /packages/instant/src/components
parent1b96867df870791d8eca5d8465e22f028df08374 (diff)
downloaddexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.tar
dexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.tar.gz
dexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.tar.bz2
dexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.tar.lz
dexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.tar.xz
dexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.tar.zst
dexon-sol-tools-f3d08c13ebf337f4f5e174dd003cd436a6ad5417.zip
Add stable CSS classes
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/zero_ex_instant_overlay.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_overlay.tsx b/packages/instant/src/components/zero_ex_instant_overlay.tsx
index 2856ea3e3..7fbac7475 100644
--- a/packages/instant/src/components/zero_ex_instant_overlay.tsx
+++ b/packages/instant/src/components/zero_ex_instant_overlay.tsx
@@ -18,7 +18,7 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay
const { onClose, zIndex, ...rest } = props;
return (
<ZeroExInstantProvider {...rest}>
- <Overlay zIndex={zIndex}>
+ <Overlay zIndex={zIndex} className="zeroExInstantOverlay">
<Flex height="100vh">
<Container position="absolute" top="0px" right="0px" display={{ default: 'initial', sm: 'none' }}>
<Icon
@@ -30,7 +30,11 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay
padding="2em 2em"
/>
</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 />
</Container>
</Flex>