aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui/overlay.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-07 02:26:39 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-07 02:26:39 +0800
commita2bc62b17a773625220817c79265c017cb61979f (patch)
tree3c91f602b0d9e11c887920f498093490ced4903f /packages/instant/src/components/ui/overlay.tsx
parentf6487122d1ed3dea731adcb6a08165b44c887282 (diff)
downloaddexon-0x-contracts-a2bc62b17a773625220817c79265c017cb61979f.tar.gz
dexon-0x-contracts-a2bc62b17a773625220817c79265c017cb61979f.tar.zst
dexon-0x-contracts-a2bc62b17a773625220817c79265c017cb61979f.zip
feat(instant): when on mobile, show mobile specific styling that takes up whole screen
Diffstat (limited to 'packages/instant/src/components/ui/overlay.tsx')
-rw-r--r--packages/instant/src/components/ui/overlay.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/ui/overlay.tsx b/packages/instant/src/components/ui/overlay.tsx
index 11496e895..12bde1f2b 100644
--- a/packages/instant/src/components/ui/overlay.tsx
+++ b/packages/instant/src/components/ui/overlay.tsx
@@ -18,7 +18,7 @@ const PlainOverlay: React.StatelessComponent<OverlayProps> = ({ children, classN
<Container position="absolute" top="0px" right="0px">
<Icon height={18} width={18} color={ColorOption.white} icon="closeX" onClick={onClose} padding="2em 2em" />
</Container>
- <Container width="100%" height="100%">
+ <Container smallWidth="100%" smallHeight="100%">
{children}
</Container>
</Flex>