aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui/overlay.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-06 09:19:37 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-06 09:19:37 +0800
commitecae3f9c4852ba488ab5a0777dae2f7a9c45ddc0 (patch)
tree38c5a154d0e694565e0bed6142f3b54276482224 /packages/instant/src/components/ui/overlay.tsx
parente4f9ae6ad5a3d6040e4f8c9c8b7a4a05cf22fb51 (diff)
downloaddexon-sol-tools-ecae3f9c4852ba488ab5a0777dae2f7a9c45ddc0.tar.gz
dexon-sol-tools-ecae3f9c4852ba488ab5a0777dae2f7a9c45ddc0.tar.zst
dexon-sol-tools-ecae3f9c4852ba488ab5a0777dae2f7a9c45ddc0.zip
wip: full display of mobile hard coded
Diffstat (limited to 'packages/instant/src/components/ui/overlay.tsx')
-rw-r--r--packages/instant/src/components/ui/overlay.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/overlay.tsx b/packages/instant/src/components/ui/overlay.tsx
index f1706c874..e930ffacd 100644
--- a/packages/instant/src/components/ui/overlay.tsx
+++ b/packages/instant/src/components/ui/overlay.tsx
@@ -14,11 +14,11 @@ export interface OverlayProps {
}
const PlainOverlay: React.StatelessComponent<OverlayProps> = ({ children, className, onClose }) => (
- <Flex height="100vh" className={className}>
+ <Flex className={className}>
<Container position="absolute" top="0px" right="0px">
<Icon height={18} width={18} color={ColorOption.white} icon="closeX" onClick={onClose} padding="2em 2em" />
</Container>
- <div>{children}</div>
+ <Container height="100%">{children}</Container>
</Flex>
);
export const Overlay = styled(PlainOverlay)`