Skip to content

Commit

Permalink
updated styling based on dec9 feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
moe-dev committed Dec 9, 2024
1 parent 07a03af commit cc95440
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/react-components/src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ export default function Dashboard() {
<div>
<Toaster
position="bottom-right"
toastOptions={{ className: "sonner-toaster" }}
toastOptions={{ className: "sonner-toaster", duration: 2500 }}
/>
</div>
</main>
Expand Down
2 changes: 2 additions & 0 deletions examples/react-components/src/app/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ body {
}

.sonner-toaster {
font-family: "Inter";
font-size: 14px;
z-index: 9999;
pointer-events: none;
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react-components/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default function AuthPage() {
<div>
<Toaster
position="bottom-right"
toastOptions={{ className: "sonner-toaster" }}
toastOptions={{ className: "sonner-toaster", duration: 2500 }}
/>
</div>
</main>
Expand Down

0 comments on commit cc95440

Please sign in to comment.