From e6a19e4d0f4002b498cb747849c2db72c4aa86c8 Mon Sep 17 00:00:00 2001 From: LJKaski Date: Fri, 15 May 2020 13:48:34 +0300 Subject: [PATCH] Add correct line height to status text and update snapshots --- .../Form/SearchInput/__snapshots__/SearchInput.test.tsx.snap | 1 + src/core/Form/TextInput/TextInput.baseStyles.tsx | 1 + src/core/Form/TextInput/__snapshots__/TextInput.test.tsx.snap | 1 + 3 files changed, 3 insertions(+) diff --git a/src/core/Form/SearchInput/__snapshots__/SearchInput.test.tsx.snap b/src/core/Form/SearchInput/__snapshots__/SearchInput.test.tsx.snap index e1415f6f0..1f3542359 100644 --- a/src/core/Form/SearchInput/__snapshots__/SearchInput.test.tsx.snap +++ b/src/core/Form/SearchInput/__snapshots__/SearchInput.test.tsx.snap @@ -171,6 +171,7 @@ exports[`calling render with the same component on the same container does not r .c2 .fi-text-input_statusText_container .fi-text-input_statusText_span { font-size: 14px; font-weight: 600; + line-height: 20px; } .c2 .fi-text-input_input { diff --git a/src/core/Form/TextInput/TextInput.baseStyles.tsx b/src/core/Form/TextInput/TextInput.baseStyles.tsx index f891acd14..6daa3b34d 100644 --- a/src/core/Form/TextInput/TextInput.baseStyles.tsx +++ b/src/core/Form/TextInput/TextInput.baseStyles.tsx @@ -21,6 +21,7 @@ export const baseStyles = withSuomifiTheme( & .fi-text-input_statusText_span { font-size: 14px; font-weight: 600; + line-height: 20px; } } diff --git a/src/core/Form/TextInput/__snapshots__/TextInput.test.tsx.snap b/src/core/Form/TextInput/__snapshots__/TextInput.test.tsx.snap index de67da406..55f440de2 100644 --- a/src/core/Form/TextInput/__snapshots__/TextInput.test.tsx.snap +++ b/src/core/Form/TextInput/__snapshots__/TextInput.test.tsx.snap @@ -166,6 +166,7 @@ exports[`calling render with the same component on the same container does not r .c2 .fi-text-input_statusText_container .fi-text-input_statusText_span { font-size: 14px; font-weight: 600; + line-height: 20px; } .c2 .fi-text-input_input {