Skip to content

Commit

Permalink
updated styling syntax for messagealert
Browse files Browse the repository at this point in the history
  • Loading branch information
ARADDCC002 committed Jan 7, 2025
1 parent e8d6025 commit d54efed
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions frontend/src/MessageAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@ export default function MessageAlert({
return (
<Alert
severity={severity}
sx={[
{
my: 2,
maxHeight: slimView ? '70px' : 'none',
maxWidth: slimView ? '250px' : 'none',
},
]}
sx={{
my: 2,
maxHeight: slimView ? '70px' : 'none',
maxWidth: slimView ? '250px' : 'none',
}}
ref={alertRef}
data-test={dataTest}
>
Expand Down

0 comments on commit d54efed

Please sign in to comment.