Skip to content

Commit

Permalink
[EuiButtonGroup] Remove unnecessary shadow (#4186)
Browse files Browse the repository at this point in the history
* Removing EuiButtonGroup unnecessary shadow

* Adding CL number

* Moving CL entry to master
  • Loading branch information
elizabetdev authored Oct 28, 2020
1 parent eca325b commit e505525
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
12 changes: 1 addition & 11 deletions src/components/button/button_group/_button_group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e505525

Please sign in to comment.