Skip to content

Commit b9ff7a7

Browse files
committed
feat(toaster): set toast position to top-right for improved visibility
1 parent c14579a commit b9ff7a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dashboard/src/components/ui/sonner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
1313
theme={resolvedTheme as ToasterProps['theme']}
1414
className="toaster group font-body"
1515
dir={dir}
16+
position='top-right'
1617
toastOptions={{
1718
classNames: {
1819
toast: 'group font-body toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',

0 commit comments

Comments
 (0)