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/ui | |
parent | 98f8c7749433e63d7fea3c4e932db1f251607e4d (diff) | |
download | dexon-0x-contracts-1001dfcc30d9e7a049cc0d7719131adec6344f6c.tar.gz dexon-0x-contracts-1001dfcc30d9e7a049cc0d7719131adec6344f6c.tar.zst dexon-0x-contracts-1001dfcc30d9e7a049cc0d7719131adec6344f6c.zip |
Add box shadow and default box-sizing: border-box to container
Diffstat (limited to 'packages/instant/src/components/ui')
-rw-r--r-- | packages/instant/src/components/ui/container.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx index bc47ba0aa..64b5d4129 100644 --- a/packages/instant/src/components/ui/container.tsx +++ b/packages/instant/src/components/ui/container.tsx @@ -18,7 +18,6 @@ export interface ContainerProps { marginBottom?: string; marginLeft?: string; padding?: string; - boxShadow?: string; borderRadius?: string; border?: string; borderColor?: ColorOption; @@ -33,6 +32,7 @@ const PlainContainer: React.StatelessComponent<ContainerProps> = ({ children, cl ); export const Container = styled(PlainContainer)` + box-sizing: border-box; ${props => cssRuleIfExists(props, 'display')} ${props => cssRuleIfExists(props, 'position')} ${props => cssRuleIfExists(props, 'top')} @@ -47,7 +47,6 @@ export const Container = styled(PlainContainer)` ${props => cssRuleIfExists(props, 'margin-bottom')} ${props => cssRuleIfExists(props, 'margin-left')} ${props => cssRuleIfExists(props, 'padding')} - ${props => cssRuleIfExists(props, 'box-shadow')} ${props => cssRuleIfExists(props, 'border-radius')} ${props => cssRuleIfExists(props, 'border')} ${props => cssRuleIfExists(props, 'border-top')} |