diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-14 03:19:14 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-14 03:19:14 +0800 |
commit | 8a3df7e434c98d75e0a8ccaec8c16122d5a2952b (patch) | |
tree | f02bcd47e6dc0e79013a2b2eac920c09e7f5098a /packages/website/ts/components/ui | |
parent | eafcbabaa28fc4176bae4351231fd295ebdcddff (diff) | |
download | dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.gz dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.bz2 dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.lz dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.xz dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.zst dexon-0x-contracts-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.zip |
Update minHeight in Text
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/text.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx index 0fa79bc7c..7e47f1d09 100644 --- a/packages/website/ts/components/ui/text.tsx +++ b/packages/website/ts/components/ui/text.tsx @@ -27,7 +27,7 @@ export const Text = styled(PlainText)` ${props => (props.lineHeight ? `line-height: ${props.lineHeight}` : '')}; ${props => (props.center ? 'text-align: center' : '')}; color: ${props => props.fontColor}; - min-height: ${props => props.minHeight}; + ${props => (props.minHeight ? `min-height: ${props.minHeight}` : '')}; `; Text.defaultProps = { |