diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-05 09:02:42 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-05 09:02:42 +0800 |
commit | 1001dfcc30d9e7a049cc0d7719131adec6344f6c (patch) | |
tree | 805acc01211cca9dc4d086141eaf4f0adc8db80a /packages/instant/src/components/zero_ex_instant_container.tsx | |
parent | 98f8c7749433e63d7fea3c4e932db1f251607e4d (diff) | |
download | dexon-sol-tools-1001dfcc30d9e7a049cc0d7719131adec6344f6c.tar.gz dexon-sol-tools-1001dfcc30d9e7a049cc0d7719131adec6344f6c.tar.zst dexon-sol-tools-1001dfcc30d9e7a049cc0d7719131adec6344f6c.zip |
Add box shadow and default box-sizing: border-box to 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 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index d6df3ccc0..d33b4bfd5 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -10,9 +10,11 @@ import { Container, Flex, Text } from './ui'; export interface ZeroExInstantContainerProps {} export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantContainerProps> = props => ( - <Flex direction="column" width="350px" justify="flex-start"> - <InstantHeading /> - <OrderDetails /> - <BuyButton /> - </Flex> + <Container hasBoxShadow={true} width="350px" backgroundColor={ColorOption.white}> + <Flex direction="column" justify="flex-start"> + <InstantHeading /> + <OrderDetails /> + <BuyButton /> + </Flex> + </Container> ); |