Skip to content

Commit

Permalink
shorthand CSS in the sx prop
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed May 24, 2024
1 parent 347bf21 commit a254edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/ApiPage/ApiWarningAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function ApiWarningAlert({ children, className }: ApiWarningAlert
severity="warning"
className={className}
icon={<WarningRoundedIcon fontSize="small" />}
sx={{ fontSize: '0.875rem', marginTop: '12px' }}
sx={{ fontSize: '0.875rem', mt: '12px' }}
>
{children}
</Alert>
Expand Down

0 comments on commit a254edc

Please sign in to comment.