mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
style: sonner position
This commit is contained in:
@@ -12,6 +12,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
|
||||
<Sonner
|
||||
theme={theme as ToasterProps["theme"]}
|
||||
className="toaster group"
|
||||
position="top-center"
|
||||
offset={20}
|
||||
toastOptions={{
|
||||
classNames: {
|
||||
toast:
|
||||
@@ -23,6 +25,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
|
||||
"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
|
||||
},
|
||||
}}
|
||||
expand={false}
|
||||
richColors
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user