wip: height 100%

This commit is contained in:
Steve Klebanoff
2018-11-05 17:23:09 -08:00
parent ecae3f9c48
commit 188e317504
2 changed files with 4 additions and 2 deletions

View File

@@ -18,7 +18,9 @@ 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 height="100%">{children}</Container>
<Container width="100%" height="100%">
{children}
</Container>
</Flex>
);
export const Overlay = styled(PlainOverlay)`

View File

@@ -26,7 +26,7 @@ export class ZeroExInstantContainer extends React.Component<ZeroExInstantContain
};
public render(): React.ReactNode {
return (
<Container width="350px" height="100%" position="relative">
<Container width="100%" height="100%" position="relative">
<Container zIndex={zIndex.errorPopup} position="relative">
<LatestError />
</Container>