diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-30 08:02:46 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-30 08:02:46 +0800 |
commit | 475698ed92dc6310591ec9d0653eaa931d7e03f6 (patch) | |
tree | 1698fb00bafe6a4a9fb4d88bbbdfc1f4d102b055 /packages/instant/src/components/zero_ex_instant_container.tsx | |
parent | 48ff13e3e22bf9f71bc1a367f86aaa0ae89989ae (diff) | |
download | dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.tar dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.tar.gz dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.tar.bz2 dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.tar.lz dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.tar.xz dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.tar.zst dexon-sol-tools-475698ed92dc6310591ec9d0653eaa931d7e03f6.zip |
feat: add basic panel component and other small improvements
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_container.tsx')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index ff19351ff..ded0d075e 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -6,6 +6,7 @@ import { SelectedAssetBuyOrderStateButtons } from '../containers/selected_asset_ import { SelectedAssetInstantHeading } from '../containers/selected_asset_instant_heading'; import { ColorOption } from '../style/theme'; +import { zIndex } from '../style/z_index'; import { Container, Flex } from './ui'; @@ -13,11 +14,11 @@ export interface ZeroExInstantContainerProps {} export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantContainerProps> = props => ( <Container width="350px"> - <Container zIndex={1} position="relative"> + <Container zIndex={zIndex.errorPopup} position="relative"> <LatestError /> </Container> <Container - zIndex={2} + zIndex={zIndex.mainContainer} position="relative" backgroundColor={ColorOption.white} borderRadius="3px" |