fix: increase toast z-index and set theme dropdown default value
This commit is contained in:
@@ -1 +1 @@
|
||||
NEXT_PUBLIC_COMMIT_SHA=b5fc053
|
||||
NEXT_PUBLIC_COMMIT_SHA=e5bd720
|
||||
|
||||
@@ -255,7 +255,7 @@ export function LoginForm({
|
||||
<span>
|
||||
<Label htmlFor="theme">Theme</Label>
|
||||
</span>
|
||||
<Select value={theme} onValueChange={setTheme}>
|
||||
<Select value={theme || "blue"} onValueChange={setTheme}>
|
||||
<SelectTrigger>
|
||||
<SelectValue placeholder="Select a theme" />
|
||||
</SelectTrigger>
|
||||
|
||||
@@ -16,7 +16,7 @@ const ToastViewport = React.forwardRef<
|
||||
<ToastPrimitives.Viewport
|
||||
ref={ref}
|
||||
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
|
||||
)}
|
||||
{...props}
|
||||
|
||||
Reference in New Issue
Block a user