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>
|
<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>
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user