diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-16 05:04:53 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-16 05:04:53 +0800 |
commit | f13d061dd2725bd87a6021dec2dad6f1cccb57dc (patch) | |
tree | 47ce3fcdc2ed057eadecadb32b6bf59cf9f837e8 /packages/instant/src/components/zero_ex_instant_container.tsx | |
parent | 7325e1669897cb9bbacaf28319b470e45ec0d4e7 (diff) | |
download | dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.tar dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.tar.gz dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.tar.bz2 dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.tar.lz dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.tar.xz dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.tar.zst dexon-0x-contracts-f13d061dd2725bd87a6021dec2dad6f1cccb57dc.zip |
move z-index setting to zero instant container, and add ability for zindex to be set on container
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_container.tsx')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index 56e4f091c..cbbcf979d 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -5,13 +5,20 @@ import { ColorOption } from '../style/theme'; import { BuyButton } from './buy_button'; import { InstantHeading } from './instant_heading'; import { OrderDetails } from './order_details'; +import { SlidingError } from './sliding_error'; import { Container, Flex } from './ui'; export interface ZeroExInstantContainerProps {} export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantContainerProps> = props => ( <Container width="350px"> - <Container backgroundColor={ColorOption.white} borderRadius="3px" hasBoxShadow={true}> + <Container + zIndex={2} + position="relative" + backgroundColor={ColorOption.white} + borderRadius="3px" + hasBoxShadow={true} + > <Flex direction="column" justify="flex-start"> <InstantHeading /> <OrderDetails /> |