feat: avatar opener
This commit is contained in:
@@ -16,6 +16,12 @@ export function Toaster() {
|
||||
<SonnerToaster
|
||||
theme={(resolvedTheme as "light" | "dark") || "light"}
|
||||
position="bottom-right"
|
||||
// SiteBottomNav sits at the viewport bottom on small screens
|
||||
// (md:hidden). Without this, sonner stacks toasts right on top of
|
||||
// the nav. 5rem clears the ~64px nav with a little breathing room.
|
||||
// Desktop is unaffected — the regular `offset` prop is left at
|
||||
// its default.
|
||||
mobileOffset={{ bottom: "5rem" }}
|
||||
richColors={false}
|
||||
closeButton
|
||||
toastOptions={{
|
||||
|
||||
Reference in New Issue
Block a user