mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix layout shift when toggling checkbox (#33319)
This commit is contained in:
1 parent
a67fcb1809
commit
8cbff35e8d
1 file changed
+1
-1
@@ -13,7 +13,7 @@ const Checkbox = React.forwardRef<
|
||||
<CheckboxPrimitive.Root
|
||||
ref={ref}
|
||||
className={cn(
|
||||
'peer h-4 w-4 shrink-0 rounded border border-control bg-control/25 ring-offset-background',
|
||||
'peer flex items-center justify-center h-4 w-4 shrink-0 rounded border border-control bg-control/25 ring-offset-background',
|
||||
'transition-colors duration-150 ease-in-out',
|
||||
'hover:border-strong',
|
||||
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
|
||||
|
||||
Reference in new issue
Block a user