Skip to content

Commit

Permalink
Update beta_badge.styles.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ek-so committed Jan 6, 2025
1 parent 6a84fa9 commit 9886cb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const euiBetaBadgeStyles = (euiThemeContext: UseEuiTheme) => {
${badgeColors.hollow.borderColor};
`,
warning: css(badgeColors.warning),
// Font sizes
// Font sizes (line height + padding-block-start = height of the badge)
m: css`
font-size: ${euiFontSizeFromScale('xs', euiTheme)};
line-height: ${mathWithUnits(euiTheme.size.l, (x) => x * 0.96)};
Expand Down

0 comments on commit 9886cb7

Please sign in to comment.