Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `32.0.0`.
**Bug fixes**

- Fixed block style of `EuiPanel` when rendered as a `<button>` ([#4681](https://github.com/elastic/eui/pull/4681))

## [`32.0.0`](https://github.com/elastic/eui/tree/v32.0.0)

Expand Down
2 changes: 1 addition & 1 deletion src/global_styling/mixins/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// transition the shadow
transition: all $euiAnimSpeedFast $euiAnimSlightResistance;

button#{&} {
&:enabled { // This is a good selector for buttons since it doesn't exist on divs
// in case of button wrapper which inherently is inline-block and no width
display: block;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/themes/eui-amsterdam/global_styling/mixins/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// transition the shadow
transition: all $euiAnimSpeedFast $euiAnimSlightResistance;

button#{&} {
&:enabled { // This is a good selector for buttons since it doesn't exist on divs
// in case of button wrapper which inherently is inline-block and no width
display: block;
width: 100%;
Expand Down