Skip to content

Commit

Permalink
[PR feedback] euiTextTruncate
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 22, 2022
1 parent 3175424 commit feb1bb6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/badge/beta_badge/beta_badge.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
logicalCSS,
euiFocusRing,
euiFontSizeFromScale,
euiTextTruncate,
mathWithUnits,
} from '../../../global_styling';
import { UseEuiTheme, tint } from '../../../services';
Expand All @@ -34,9 +35,7 @@ export const euiBetaBadgeStyles = (euiThemeContext: UseEuiTheme) => {
text-transform: uppercase;
letter-spacing: 0.05em;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
${euiTextTruncate()}
&:focus {
${euiFocusRing(euiThemeContext, 'outset', {
Expand Down

0 comments on commit feb1bb6

Please sign in to comment.