fix: increase toast z-index and set theme dropdown default value

This commit is contained in:
2026-01-25 02:04:17 +00:00
committed by GitHub
parent e5bd7209eb
commit 4721c058ae
3 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
NEXT_PUBLIC_COMMIT_SHA=b5fc053 NEXT_PUBLIC_COMMIT_SHA=e5bd720

View File

@@ -255,7 +255,7 @@ export function LoginForm({
<span> <span>
<Label htmlFor="theme">Theme</Label> <Label htmlFor="theme">Theme</Label>
</span> </span>
<Select value={theme} onValueChange={setTheme}> <Select value={theme || "blue"} onValueChange={setTheme}>
<SelectTrigger> <SelectTrigger>
<SelectValue placeholder="Select a theme" /> <SelectValue placeholder="Select a theme" />
</SelectTrigger> </SelectTrigger>

View File

@@ -16,7 +16,7 @@ const ToastViewport = React.forwardRef<
<ToastPrimitives.Viewport <ToastPrimitives.Viewport
ref={ref} ref={ref}
className={cn( className={cn(
"fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", "fixed top-0 z-[9999] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
className className
)} )}
{...props} {...props}