Skip to content

Commit

Permalink
Adding an overflow to round card images. (#3556)
Browse files Browse the repository at this point in the history
* Adding an overflow to round card images.

* CL

* Update CHANGELOG.md

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
  • Loading branch information
daveyholler and cchaos authored Jun 4, 2020
1 parent 08d94fe commit 4f60ee5
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 @@ -4,6 +4,7 @@

**Bug fixes**

- Fixed `EuiCard` image corners to be contained within border radius ([#3556](https://github.com/elastic/eui/pull/3556))
- Fixed `EuiKeyPadMenu` and `EuiKeyPadMenuItem` aria roles ([#3502](https://github.com/elastic/eui/pull/3502))
- Fixed `EuiFieldSearch` input clear button doesn't show when external input is passed([#3497](https://github.com/elastic/eui/pull/3497))
- Fixed `EuiBasicTable` footers to always use a unique `key` ([#3559](https://github.com/elastic/eui/pull/3559))
Expand Down
1 change: 1 addition & 0 deletions src/components/card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
// match border radius, minus 1px because it's inside a border
border-top-left-radius: $euiBorderRadius - 1px;
border-top-right-radius: $euiBorderRadius - 1px;
overflow: hidden;

img {
width: 100%;
Expand Down

0 comments on commit 4f60ee5

Please sign in to comment.