Skip to content

Commit

Permalink
Slight change for smaller badge
Browse files Browse the repository at this point in the history
  • Loading branch information
ek-so committed Dec 30, 2024
1 parent b275d15 commit 368a487
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const euiBetaBadgeStyles = (euiThemeContext: UseEuiTheme) => {
s: css`
font-size: 0.7rem;
${logicalCSS('height', '20px')}
line-height: ${mathWithUnits('20px', (x) => x * 0.97)};
line-height: ${mathWithUnits('20px', (x) => x * 0.98)};
`,
// Padding/width sizes
badgeSizes: {
Expand All @@ -70,7 +70,7 @@ export const euiBetaBadgeStyles = (euiThemeContext: UseEuiTheme) => {
`,
s: `
${logicalCSS('padding-horizontal', euiTheme.size.m)}
padding-block-start: ${mathWithUnits('20px', (x) => x * 0.03)};
padding-block-start: ${mathWithUnits('20px', (x) => x * 0.02)};
`,
},
// When it's just an icon or a single letter, make the badge a circle
Expand Down

0 comments on commit 368a487

Please sign in to comment.