Skip to content

Commit

Permalink
[EuiKeyPadMenu] Add max-width (elastic#4092)
Browse files Browse the repository at this point in the history
* Added max-width:100% in EuiKeyPadMenu
  • Loading branch information
kshitij86 committed Nov 29, 2020
1 parent 60d5535 commit 3eb090d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Added `max-width: 100%` to `EuiKeyPadMenu` to allow it to shrink when its container is smaller than its fixed width ([ #4092](https://github.com/elastic/eui/pull/4092))

**Bug fixes**

- Fixed `EuiFieldSearch` padding when `isClearable` but has no `value` ([#4089](https://github.com/elastic/eui/pull/4089))
Expand Down
1 change: 1 addition & 0 deletions src/components/key_pad_menu/_key_pad_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
flex-direction: row;
flex-wrap: wrap;
width: $euiKeyPadMenuSize * 3;
max-width: 100%;
}

/**
Expand Down

0 comments on commit 3eb090d

Please sign in to comment.