[ML] Explain Log Rate Spikes: Fix kebab-cased inline css attributes. (#152996)

Fixes kebab-cased css attributes.
This commit is contained in:
Walter Rafelsberger 2023-03-10 10:54:34 +01:00 committed by GitHub
parent 84cc0eb30f
commit acc72e2abf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ export const BrushBadge: FC<BrushBadgeProps> = ({
<div
css={{
position: 'absolute',
'margin-left': `${marginLeft}px`,
marginLeft: `${marginLeft}px`,
}}
>
<EuiToolTip
@ -57,7 +57,7 @@ export const BrushBadge: FC<BrushBadgeProps> = ({
}
position="top"
>
<EuiBadge css={{ width, 'text-align': 'center' }}>{label}</EuiBadge>
<EuiBadge css={{ width, textAlign: 'center' }}>{label}</EuiBadge>
</EuiToolTip>
</div>
);