From e43bbf25478dfefb83998e74ed861ac36ebb450e Mon Sep 17 00:00:00 2001 From: "dave.snider@gmail.com" Date: Wed, 20 Dec 2017 13:25:35 -0800 Subject: [PATCH] Give help / error text proper line-height (#234) help / error text didn't have line-height. --- CHANGELOG.md | 1 + src/components/form/form_error_text/_form_error_text.scss | 2 +- src/components/form/form_help_text/_form_help_text.scss | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fe70a49c457..a20c0151c036 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ No public interface changes since `0.0.8`. **Bug fixes** - Fix button vertical alignment. [(#232)](https://github.com/elastic/eui/pull/232) +- Give help / error text proper line-height. [(#234)](https://github.com/elastic/eui/pull/234) # [`0.0.7`](https://github.com/elastic/eui/tree/v0.0.7) diff --git a/src/components/form/form_error_text/_form_error_text.scss b/src/components/form/form_error_text/_form_error_text.scss index 971c0d9a1b0f..b796c63f8b8e 100644 --- a/src/components/form/form_error_text/_form_error_text.scss +++ b/src/components/form/form_error_text/_form_error_text.scss @@ -1,5 +1,5 @@ .euiFormErrorText { - font-size: $euiFontSizeXS; + @include euiFontSizeXS; padding: $euiSizeS 0; color: $euiColorDanger; } diff --git a/src/components/form/form_help_text/_form_help_text.scss b/src/components/form/form_help_text/_form_help_text.scss index 2502b4d4c9ae..7804a48716a5 100644 --- a/src/components/form/form_help_text/_form_help_text.scss +++ b/src/components/form/form_help_text/_form_help_text.scss @@ -1,5 +1,5 @@ .euiFormHelpText { - font-size: $euiFontSizeXS; + @include euiFontSizeXS; padding: $euiSizeS 0; color: $euiColorDarkShade; }