fix(metric): update badge to pill shape with adjusted padding#2786
Merged
maryam-saeidi merged 2 commits intoelastic:mainfrom Feb 23, 2026
Merged
Conversation
Match EUI badge style: use pill-shaped border-radius, add 2px vertical padding and 2px additional horizontal padding. Update layout height calculation to account for the new padding. Co-authored-by: Cursor <cursoragent@cursor.com>
Member
Author
|
buildkite update vrt |
nickofthyme
pushed a commit
that referenced
this pull request
Feb 26, 2026
# [71.2.0](v71.1.2...v71.2.0) (2026-02-26) ### Bug Fixes * **metric:** update badge to pill shape with adjusted padding ([#2786](#2786)) ([80be269](80be269)) * **theme:** expose font weight in text style ([#2788](#2788)) ([02f4afa](02f4afa)) ### Features * **legend:** add "list" layout for horizontal legends ([#2784](#2784)) ([8967ce3](8967ce3)) * **legend:** add legendActionOnHover option to show actions on hover ([#2773](#2773)) ([d1be88f](d1be88f))
maryam-saeidi
added a commit
to elastic/kibana
that referenced
this pull request
Feb 27, 2026
## Summary This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://togithub.com/elastic/elastic-charts) | dependencies | minor | [`71.1.2` -> `71.2.0`](elastic/elastic-charts@v71.1.2...v71.2.0) | --- ### Release Notes ## [71.2.0](elastic/elastic-charts@v71.1.2...v71.2.0) (2026-02-26) ### Bug Fixes * **metric:** update badge to pill shape with adjusted padding ([#2786](elastic/elastic-charts#2786)) ([80be269](elastic/elastic-charts@80be269)) * **theme:** expose font weight in text style ([#2788](elastic/elastic-charts#2788)) ([02f4afa](elastic/elastic-charts@02f4afa)) ### Features * **legend:** add "list" layout for horizontal legends ([#2784](elastic/elastic-charts#2784)) ([8967ce3](elastic/elastic-charts@8967ce3)) * **legend:** add legendActionOnHover option to show actions on hover ([#2773](elastic/elastic-charts#2773)) ([d1be88f](elastic/elastic-charts@d1be88f))
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Mar 11, 2026
## Summary This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://togithub.com/elastic/elastic-charts) | dependencies | minor | [`71.1.2` -> `71.2.0`](elastic/elastic-charts@v71.1.2...v71.2.0) | --- ### Release Notes ## [71.2.0](elastic/elastic-charts@v71.1.2...v71.2.0) (2026-02-26) ### Bug Fixes * **metric:** update badge to pill shape with adjusted padding ([elastic#2786](elastic/elastic-charts#2786)) ([80be269](elastic/elastic-charts@80be269)) * **theme:** expose font weight in text style ([elastic#2788](elastic/elastic-charts#2788)) ([02f4afa](elastic/elastic-charts@02f4afa)) ### Features * **legend:** add "list" layout for horizontal legends ([elastic#2784](elastic/elastic-charts#2784)) ([8967ce3](elastic/elastic-charts@8967ce3)) * **legend:** add legendActionOnHover option to show actions on hover ([elastic#2773](elastic/elastic-charts#2773)) ([d1be88f](elastic/elastic-charts@d1be88f))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The metric badge now uses a pill-shaped border radius and updated padding to match the latest EUI badge styling. This provides a more elegant and consistent look for the secondary metric badge in metric charts.
Details
Issues
Related to elastic/kibana#251614
Checklist
:xy,:partition):interactions,:axis)closes #123,fixes #123)lightanddarkthemes