diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-08 14:14:00 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-08 14:14:00 +0800 |
commit | bfe708533fb424cef9b1659871982549eaf34e02 (patch) | |
tree | 6329c748e5c60c326e24dec57a9efb574227cb79 /packages/instant/src/components/zero_ex_instant_overlay.tsx | |
parent | d7742029c7ff991e60352cddeb52c2cdc1589a57 (diff) | |
parent | 771f8a6a6cff935631e8c6ebcdc012cdd3533de6 (diff) | |
download | dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.tar dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.tar.gz dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.tar.bz2 dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.tar.lz dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.tar.xz dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.tar.zst dexon-0x-contracts-bfe708533fb424cef9b1659871982549eaf34e02.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/dropdown-ui
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_overlay.tsx')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_overlay.tsx | 6 |
1 files changed, 4 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 734747b57..10438ab7a 100644 --- a/packages/instant/src/components/zero_ex_instant_overlay.tsx +++ b/packages/instant/src/components/zero_ex_instant_overlay.tsx @@ -20,7 +20,7 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay <ZeroExInstantProvider {...rest}> <Overlay zIndex={zIndex}> <Flex height="100vh"> - <Container position="absolute" top="0px" right="0px"> + <Container position="absolute" top="0px" right="0px" display={{ default: 'initial', sm: 'none' }}> <Icon height={18} width={18} @@ -30,7 +30,9 @@ export const ZeroExInstantOverlay: React.StatelessComponent<ZeroExInstantOverlay padding="2em 2em" /> </Container> - <ZeroExInstantContainer /> + <Container width={{ default: 'auto', sm: '100%' }} height={{ default: 'auto', sm: '100%' }}> + <ZeroExInstantContainer /> + </Container> </Flex> </Overlay> </ZeroExInstantProvider> |