From a273568c777e9988992b55de1adc84ccdc62f828 Mon Sep 17 00:00:00 2001 From: miukimiu Date: Mon, 27 Jul 2020 20:17:48 +0100 Subject: [PATCH 1/2] Fixed safari placeholder bug --- src/global_styling/mixins/_form.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/global_styling/mixins/_form.scss b/src/global_styling/mixins/_form.scss index d730f9a4f65..4a9cc4cf0d3 100644 --- a/src/global_styling/mixins/_form.scss +++ b/src/global_styling/mixins/_form.scss @@ -68,9 +68,12 @@ @mixin euiFormControlText { @include euiFont; font-size: $euiFontSizeS; - line-height: 1em; // fixes text alignment in IE color: $euiTextColor; + @include internetExplorerOnly { + line-height: 1em; // fixes text alignment in IE + } + // sass-lint:disable-block mixins-before-declarations @include euiPlaceholderPerBrowser { color: $euiColorDarkShade; From fb23633324c290a1be6fa91820d709e7d4e17a3b Mon Sep 17 00:00:00 2001 From: miukimiu Date: Tue, 28 Jul 2020 13:00:56 +0100 Subject: [PATCH 2/2] Adding CL --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f63a40be8f..b4103796e08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ **Bug fixes** - Fixed bug in `EuiDataGrid` not calculating the width correctly ([#3789](https://github.com/elastic/eui/pull/3789)) +- Fixed bug in all input fields placeholders in Safari that weren't vertically centered ([#3796](https://github.com/elastic/eui/pull/3796)) **Bug fixes**