Skip to content

Commit

Permalink
Replace style with css in EUI's inner component props
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoblaz committed Dec 3, 2024
1 parent 043f0b5 commit d50e01f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const CspInlineDescriptionList = ({
data-test-subj={testId}
type="inline"
titleProps={{
style: {
css: {
background: 'initial',
color: euiTheme.colors.subduedText,
fontSize,
Expand All @@ -69,7 +69,7 @@ export const CspInlineDescriptionList = ({
},
}}
descriptionProps={{
style: {
css: {
color: euiTheme.colors.subduedText,
marginRight: euiTheme.size.xs,
fontSize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const RadioGroup = ({
key={option.id}
content={option.tooltip}
anchorProps={{
style: {
css: {
flex: '1 1 0',
},
}}
Expand All @@ -75,7 +75,7 @@ export const RadioGroup = ({
iconType={option.icon}
iconSide="right"
contentProps={{
style: {
css: {
justifyContent: 'flex-start',
},
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Rules = ({ match: { params } }: RouteComponentProps<PageUrlParams>)
<EuiFlexGroup direction="column" gutterSize="none">
<EuiFlexItem css={{ width: 'fit-content' }}>
<Link to={generatePath(cloudPosturePages.benchmarks.path)}>
<EuiButtonEmpty iconType="arrowLeft" contentProps={{ style: { padding: 0 } }}>
<EuiButtonEmpty iconType="arrowLeft" contentProps={{ css: { padding: 0 } }}>
<FormattedMessage
id="xpack.csp.rules.rulesPageHeader.benchmarkRulesButtonLabel"
defaultMessage="Benchmarks"
Expand Down

0 comments on commit d50e01f

Please sign in to comment.