From e505525126e466344c12ea080750e4e1ffd6a77d Mon Sep 17 00:00:00 2001 From: Elizabet Oliveira Date: Wed, 28 Oct 2020 15:41:01 +0000 Subject: [PATCH] [EuiButtonGroup] Remove unnecessary shadow (#4186) * Removing EuiButtonGroup unnecessary shadow * Adding CL number * Moving CL entry to master --- CHANGELOG.md | 4 ++++ .../button/button_group/_button_group.scss | 12 +----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 750b294e83b..6bf9f32f866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ - Added more exports for `EuiInMemoryTable` types ([#4179](https://github.com/elastic/eui/pull/4179)) +**Bug fixes** + +- Removed unnecessary shadow on hover of `EuiButtonGroup` ([#4186](https://github.com/elastic/eui/pull/4186)) + ## [`30.1.0`](https://github.com/elastic/eui/tree/v30.1.0) - Improved `EuiButtonGroup` focus, hover, selected and disabled states ([#4142](https://github.com/elastic/eui/pull/4142)) diff --git a/src/components/button/button_group/_button_group.scss b/src/components/button/button_group/_button_group.scss index f7b2bcc191b..4057b07151b 100644 --- a/src/components/button/button_group/_button_group.scss +++ b/src/components/button/button_group/_button_group.scss @@ -22,20 +22,10 @@ display: flex; overflow: hidden; transition: all $euiAnimSpeedNormal ease-in-out; - - &:hover, - &:active, - &:focus-within { - @include euiSlightShadowHover; - } } .euiButtonGroup--isDisabled .euiButtonGroup__buttons { - &:hover, - &:active, - &:focus-within { - box-shadow: none !important; // sass-lint:disable-line no-important - } + box-shadow: none; } .euiButtonGroup--compressed {