Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix: RadioGroupCard focus state design (#48494)

Gildas Garciae5587799692a
diff --git a/packages/ui/src/components/radio-group-card.tsx b/packages/ui/src/components/radio-group-card.tsx
index fc58fa7757c..2bf4330a345 100644
--- a/packages/ui/src/components/radio-group-card.tsx
+++ b/packages/ui/src/components/radio-group-card.tsx
@@ -38,10 +38,7 @@ const RadioGroupCardItem = React.forwardRef<
// 'hover:bg-selection',
'hover:border-foreground-muted',
'hover:z-1 focus-visible:z-1',
- 'data-[state=checked]:z-1',
- 'data-[state=checked]:ring-2 data-[state=checked]:ring-border',
- 'data-[state=checked]:bg-surface-300 dark:data-[state=checked]:bg-surface-300',
- 'data-[state=checked]:border-foreground/50',
+ 'outline-hidden',
'transition-colors',
'group',
props.className