mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Swap label for span in TextConfirmModal to support double clicking label (#40552)
This commit is contained in:
1 parent
d78f6a1678
commit
16fb243141
1 file changed
+2
-2
@@ -161,13 +161,13 @@ export const TextConfirmModal = forwardRef<
|
||||
name="confirmValue"
|
||||
render={({ field }) => (
|
||||
<FormItem_Shadcn_ className="flex flex-col gap-y-2">
|
||||
<FormLabel_Shadcn_ {...label}>
|
||||
<span className="text-sm text-foreground-lighter">
|
||||
Type{' '}
|
||||
<span className="text-foreground break-all whitespace-pre">
|
||||
{confirmString}
|
||||
</span>{' '}
|
||||
to confirm.
|
||||
</FormLabel_Shadcn_>
|
||||
</span>
|
||||
<FormControl_Shadcn_>
|
||||
<Input_Shadcn_
|
||||
autoComplete="off"
|
||||
|
||||
Reference in new issue
Block a user