Skip to content

Commit

Permalink
bump up the toast
Browse files Browse the repository at this point in the history
so it doesn't display over the sheet bar and instead just the grid itself
  • Loading branch information
jimniels committed Jan 2, 2025
1 parent e038c6a commit 538efdd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ export function GlobalSnackbarProvider({ children }: { children: React.ReactElem
backgroundColor: 'hsl(var(--foreground))',
color: 'hsl(var(--background))',
},
// Override this so it sits over the sheetbar
'&.MuiSnackbar-anchorOriginBottomCenter': {
bottom: '66px !important',
},
}}
anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
autoHideDuration={stayOpen ? null : DURATION}
Expand Down

0 comments on commit 538efdd

Please sign in to comment.