diff --git a/CHANGELOG.md b/CHANGELOG.md index f818fcde842..de7bb100a2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,15 +4,14 @@ - Added a visual pattern for Kibana's Global Date Picker ([#1026](https://github.com/elastic/eui/pull/1026)) - Added `responsive` prop to `EuiFlexGrid` ([#1026](https://github.com/elastic/eui/pull/1026)) - Added `expand` prop to `EuiTabs` and `EuiTabbedContent` ([#1026](https://github.com/elastic/eui/pull/1026)) +- Allow `titleElement` to be passed to `EuiCard` ([#1032](https://github.com/elastic/eui/pull/1032)) **Bug fixes** - Fixed `EuiContextMenuPanel` calling `ref` after being unmounted ([#1038](https://github.com/elastic/eui/pull/1038)) - `EuiOutsideClickDetector` supports nested detectors in the DOM tree ([#1039](https://github.com/elastic/eui/pull/1039)) - -**Bug Fixes** - - To make it more accessible, added a random id to `EuiSwitch`'s id prop if none is passed. ([#779](https://github.com/elastic/eui/pull/779)) +- `BetaBadge` now shows outside of `EuiPanel` bounds in IE ([#1032](https://github.com/elastic/eui/pull/1032)) ## [`3.1.0`](https://github.com/elastic/eui/tree/v3.1.0) diff --git a/src-docs/src/views/card/card_example.js b/src-docs/src/views/card/card_example.js index b4cfdf409cd..9a7a724a68d 100644 --- a/src-docs/src/views/card/card_example.js +++ b/src-docs/src/views/card/card_example.js @@ -50,6 +50,11 @@ export const CardExample = { description, and an icon. You can make the whole card clickable by giving it an onClick handler.

+

+ By default a card's title element is a span. This can be changed via + the titleElement prop. However, if an onClick function is + also passed, the title element will be forced back to a span. +

By default a card's content is center aligned. To change the alignment set textAlign to left or right. diff --git a/src/components/badge/beta_badge/_mixins.scss b/src/components/badge/beta_badge/_mixins.scss index 0848db92701..d7e157e5a6e 100644 --- a/src/components/badge/beta_badge/_mixins.scss +++ b/src/components/badge/beta_badge/_mixins.scss @@ -1,11 +1,13 @@ /** * 1. Extend beta badges to at least 40% of the container's width + * 2. Fix for IE to ensure badges are visible outside of a