Skip to content

Commit

Permalink
[EuiButtonGroup] Fix position for EuiScreenReaderOnly (#4189)
Browse files Browse the repository at this point in the history
* [EuiButtonGroup] Fix position for EuiScreenReaderOnly

* cl

* Update src/components/button/button_group/_button_group.scss

Co-authored-by: Greg Thompson <[email protected]>

Co-authored-by: Greg Thompson <[email protected]>
  • Loading branch information
cchaos and thompsongl authored Oct 28, 2020
1 parent e505525 commit 7b0a19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
**Bug fixes**

- Removed unnecessary shadow on hover of `EuiButtonGroup` ([#4186](https://github.com/elastic/eui/pull/4186))
- Fixed position of `EuiScreenReaderOnly` elements within `EuiButtonGroup` ([#4189](https://github.com/elastic/eui/pull/4189))

## [`30.1.0`](https://github.com/elastic/eui/tree/v30.1.0)

Expand Down
1 change: 1 addition & 0 deletions src/components/button/button_group/_button_group.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.euiButtonGroup {
display: inline-block;
max-width: 100%;
position: relative; // Ensures the EuiScreenReaderOnly component is positioned relative to this component
}

.euiButtonGroup--fullWidth {
Expand Down

0 comments on commit 7b0a19b

Please sign in to comment.