From 87a2a1a052237baee0ac97ee59953a94581be7ad Mon Sep 17 00:00:00 2001 From: miukimiu Date: Fri, 10 Apr 2020 19:24:19 +0100 Subject: [PATCH 1/3] Improving condensed tabs focus states --- src/components/tabs/_tabs.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/tabs/_tabs.scss b/src/components/tabs/_tabs.scss index d453b7fe2cf..ac98a2a3291 100644 --- a/src/components/tabs/_tabs.scss +++ b/src/components/tabs/_tabs.scss @@ -89,18 +89,22 @@ .euiTabs--condensed & { font-weight: $euiFontWeightSemiBold; - padding: $euiSizeS 0; + padding: $euiSizeS 4px; &:focus { - background-color: transparent; + background-color: $euiFocusBackgroundColor; &::before { display: none; } } + &-isSelected { + text-decoration: none; + } + & + .euiTab { - margin-left: $euiSizeL; + margin-left: $euiSize; } } From de1906b6f429cebb93a66c88d51391d8cde03e94 Mon Sep 17 00:00:00 2001 From: miukimiu Date: Fri, 10 Apr 2020 19:33:25 +0100 Subject: [PATCH 2/3] Adding changelog --- CHANGELOG.md | 1 + src/components/tabs/_tabs.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee1aa75127c..ab35fb27ed5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Added support for `href`, `onClick`, and related props in `EuiBasicTable` default actions ([#3115](https://github.com/elastic/eui/pull/3115)) - Added support for `EuiCodeEditor` to set `readonly` and `id` on `