aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-14 03:19:14 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-14 03:19:14 +0800
commit8a3df7e434c98d75e0a8ccaec8c16122d5a2952b (patch)
treef02bcd47e6dc0e79013a2b2eac920c09e7f5098a
parenteafcbabaa28fc4176bae4351231fd295ebdcddff (diff)
downloaddexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar
dexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.gz
dexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.bz2
dexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.lz
dexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.xz
dexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.tar.zst
dexon-sol-tools-8a3df7e434c98d75e0a8ccaec8c16122d5a2952b.zip
Update minHeight in Text
-rw-r--r--packages/website/ts/components/ui/text.tsx2
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 = {