Skip to content

Commit

Permalink
full width buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
kianamcc committed Dec 12, 2024
1 parent 475b742 commit cce388e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,16 @@ function FullWidthAlert(props: FullWidthAlertProps) {
alignItems="center"
display="flex"
flexShrink={0}
sx={{
sx={theme => ({
gap: { xs: '8px', sm: 'initial' },
flexWrap: { xs: 'wrap', sm: 'nowrap' },
width: { xs: '100%', sm: 'initial' },
}}
[theme.breakpoints.down('sm')]: {
'& > *': {
flexGrow: 1,
},
},
})}
>
{tertiaryButtonConfig && (
<ButtonFromConfig config={tertiaryButtonConfig} variant="text" />
Expand Down

0 comments on commit cce388e

Please sign in to comment.