aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui/container.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-24 06:01:22 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-24 06:01:22 +0800
commitf0c79473bdaeb87f49a9eb59fc88336f02e81546 (patch)
treed2b0876b2732fe5bd71ee3af9d315f947029c491 /packages/instant/src/components/ui/container.tsx
parentb7a5e40c62adfbd8732b3cd98d2c989a6a021c54 (diff)
downloaddexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.tar
dexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.tar.gz
dexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.tar.bz2
dexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.tar.lz
dexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.tar.xz
dexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.tar.zst
dexon-sol-tools-f0c79473bdaeb87f49a9eb59fc88336f02e81546.zip
fix: dont allow heading to change height when input size changes
Diffstat (limited to 'packages/instant/src/components/ui/container.tsx')
-rw-r--r--packages/instant/src/components/ui/container.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx
index 8b204826d..293042120 100644
--- a/packages/instant/src/components/ui/container.tsx
+++ b/packages/instant/src/components/ui/container.tsx
@@ -1,4 +1,3 @@
-
import { ColorOption, styled } from '../../style/theme';
import { cssRuleIfExists } from '../../style/util';
@@ -10,6 +9,7 @@ export interface ContainerProps {
bottom?: string;
left?: string;
width?: string;
+ height?: string;
maxWidth?: string;
margin?: string;
marginTop?: string;
@@ -37,6 +37,7 @@ export const Container = styled<ContainerProps, 'div'>('div')`
${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')}