diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-04-05 11:36:15 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-04-05 11:36:15 +0200 |
commit | e9b9079dc921e85961954727a7b2a8eabe5b9798 (patch) | |
tree | 7d156156e414c2f7cfce9f1c09349df2ed097707 | |
parent | Add asterisk if input is required (diff) | |
download | ferdium-app-e9b9079dc921e85961954727a7b2a8eabe5b9798.tar.gz ferdium-app-e9b9079dc921e85961954727a7b2a8eabe5b9798.tar.zst ferdium-app-e9b9079dc921e85961954727a7b2a8eabe5b9798.zip |
fix line height on input pre/suffix
-rw-r--r-- | packages/forms/src/input/styles.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/forms/src/input/styles.ts b/packages/forms/src/input/styles.ts index a64d2c340..c038295cd 100644 --- a/packages/forms/src/input/styles.ts +++ b/packages/forms/src/input/styles.ts | |||
@@ -4,7 +4,7 @@ import CSS from 'csstype'; | |||
4 | const prefixStyles = (theme: Theme) => ({ | 4 | const prefixStyles = (theme: Theme) => ({ |
5 | background: theme.inputPrefixBackground, | 5 | background: theme.inputPrefixBackground, |
6 | color: theme.inputPrefixColor, | 6 | color: theme.inputPrefixColor, |
7 | lineHeight: theme.inputHeight, | 7 | lineHeight: `${theme.inputHeight}px`, |
8 | padding: '0 10px', | 8 | padding: '0 10px', |
9 | fontSize: theme.uiFontSize, | 9 | fontSize: theme.uiFontSize, |
10 | }); | 10 | }); |