Skip to content

Commit

Permalink
Fix euiBadge with pointer css (elastic#2234)
Browse files Browse the repository at this point in the history
* Fixes cursor on badges

* Update Changelog

* Update changelog
  • Loading branch information
mdefazio authored and thompsongl committed Sep 10, 2019
1 parent a5b0821 commit 750f661
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Fixed `EuiSwitch` semantics to align with aria roles ([#2193](https://github.com/elastic/eui/pull/2193))
- Removed Firefox's focus ring to match other browsers ([#2193](https://github.com/elastic/eui/pull/2193))
- Added missing `onChange` TS defs for EuiRange ([#2211](https://github.com/elastic/eui/pull/2211))
- Fixed `EuiBadge` text cursor to default pointer ([#2234](https://github.com/elastic/eui/pull/2234))

## [`13.3.0`](https://github.com/elastic/eui/tree/v13.3.0)

Expand Down
1 change: 1 addition & 0 deletions src/components/badge/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
background-color: transparent;
white-space: nowrap;
vertical-align: middle;
cursor: default;
max-width: 100%;
// The badge will only ever be as wide as it's content
// So, make the text left aligned to ensure all badges line up the same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
vertical-align: middle;
text-align: center;
transition: all $euiAnimSpeedFast ease-in;
cursor: default;
}

.euiNotificationBadge--medium {
Expand Down

0 comments on commit 750f661

Please sign in to comment.