diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-07 06:07:55 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-07 06:07:55 +0800 |
commit | 897c15fd2850d987e7fae8e578cf86e85b697e1f (patch) | |
tree | c00e1d66bf489d53cc98efae7d4510760e8a3e81 /packages/instant/src/components/ui | |
parent | 006a13448fc5d79aa8f6d04ac3f471e430dcfa89 (diff) | |
download | dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.tar dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.tar.gz dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.tar.bz2 dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.tar.lz dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.tar.xz dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.tar.zst dexon-sol-tools-897c15fd2850d987e7fae8e578cf86e85b697e1f.zip |
Get rid of unused properties
Diffstat (limited to 'packages/instant/src/components/ui')
-rw-r--r-- | packages/instant/src/components/ui/container.tsx | 2 | ||||
-rw-r--r-- | packages/instant/src/components/ui/flex.tsx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx index 0e518be88..d276e0603 100644 --- a/packages/instant/src/components/ui/container.tsx +++ b/packages/instant/src/components/ui/container.tsx @@ -51,8 +51,6 @@ export const Container = ${props => cssRuleIfExists(props, 'right')} ${props => cssRuleIfExists(props, 'bottom')} ${props => cssRuleIfExists(props, 'left')} - ${props => cssRuleIfExists(props, 'width')} - ${props => cssRuleIfExists(props, 'height')} ${props => cssRuleIfExists(props, 'max-width')} ${props => cssRuleIfExists(props, 'margin')} ${props => cssRuleIfExists(props, 'margin-top')} diff --git a/packages/instant/src/components/ui/flex.tsx b/packages/instant/src/components/ui/flex.tsx index c3d643a79..ef005db40 100644 --- a/packages/instant/src/components/ui/flex.tsx +++ b/packages/instant/src/components/ui/flex.tsx @@ -26,8 +26,6 @@ export const Flex = ${props => cssRuleIfExists(props, 'flexGrow')} justify-content: ${props => props.justify}; align-items: ${props => props.align}; - ${props => cssRuleIfExists(props, 'width')} - ${props => cssRuleIfExists(props, 'height')} background-color: ${props => (props.backgroundColor ? props.theme[props.backgroundColor] : 'none')}; ${props => stylesForMedia('width', props.width || 'auto')} ${props => stylesForMedia('height', props.height || 'auto')} |