aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-07 06:07:55 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-07 06:07:55 +0800
commit897c15fd2850d987e7fae8e578cf86e85b697e1f (patch)
treec00e1d66bf489d53cc98efae7d4510760e8a3e81
parent006a13448fc5d79aa8f6d04ac3f471e430dcfa89 (diff)
downloaddexon-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
-rw-r--r--packages/instant/src/components/ui/container.tsx2
-rw-r--r--packages/instant/src/components/ui/flex.tsx2
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')}