Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix(web): align radio button group indicator (#6097)

Dedy F. Setyawan2d01420c2337
diff --git a/web/src/components/ui/radio-group.tsx b/web/src/components/ui/radio-group.tsx
index 1248cfe7c..31c1d4fe2 100644
--- a/web/src/components/ui/radio-group.tsx
+++ b/web/src/components/ui/radio-group.tsx
@@ -17,7 +17,7 @@ function RadioGroupItem({ className, ...props }: Radio.Root.Props) {
)}
{...props}
>
- <Radio.Indicator data-slot="radio-group-indicator" className="relative flex items-center justify-center">
+ <Radio.Indicator data-slot="radio-group-indicator" className="relative flex size-full items-center justify-center">
<CircleIcon className="fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" />
</Radio.Indicator>
</Radio.Root>