Skip to content

Commit

Permalink
[EuiButtonDisplay] Fix missing text-align CSS (#8057)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Oct 8, 2024
1 parent d29a949 commit 96b19ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
euiFontSize,
logicalCSS,
logicalShorthandCSS,
logicalTextAlignStyle,
logicalTextAlignCSS,
} from '../../../global_styling';
import { euiButtonSizeMap } from '../../../themes/amsterdam/global_styling/mixins';
import { EuiButtonDisplaySizes } from './_button_display';
Expand All @@ -23,7 +23,7 @@ export const euiButtonBaseCSS = () => {
display: inline-block;
appearance: none;
cursor: pointer;
${logicalTextAlignStyle('center')};
${logicalTextAlignCSS('center')};
white-space: nowrap;
${logicalCSS('max-width', '100%')};
vertical-align: middle;
Expand Down

0 comments on commit 96b19ff

Please sign in to comment.