Skip to content

Commit

Permalink
Merge pull request #602 from Availity/fix/snackbar-action-spacing
Browse files Browse the repository at this point in the history
fix(mui-alert): fix action spacing
  • Loading branch information
LauRoxx authored Dec 9, 2024
2 parents 710bebb + 225a19a commit 4073307
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/theme/src/lib/light-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,12 @@ export const lightTheme = {
padding: '2px 4px',
margin: '0px -4px',
},
'.MuiIconButton-root': {
marginRight: '-8px'
},
margin: '-2px 0px -2px auto',
padding: '0 0 0 8px',
gap: '8px'
padding: '0 0 0 16px',
gap: '16px'
},
icon: ({ ownerState }: { ownerState: any }) => ({
...(ownerState.severity === 'success' && {
Expand All @@ -644,7 +647,7 @@ export const lightTheme = {
border: 'none',
fontSize: tokens.fontSizesBody1,
lineHeight: tokens.lineHeightsBody1,
padding: '8px 8px 8px 16px',
padding: '8px 16px',
},
},
},
Expand Down

0 comments on commit 4073307

Please sign in to comment.