diff --git a/package.json b/package.json index eebc6f5..dad61e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@airdao/ui-library", "type": "module", - "version": "1.4.11", + "version": "1.4.12", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types.d.ts", diff --git a/src/components/Radio/Radio.tsx b/src/components/Radio/Radio.tsx index bbf3c0c..527c36c 100644 --- a/src/components/Radio/Radio.tsx +++ b/src/components/Radio/Radio.tsx @@ -10,7 +10,7 @@ export function Radio({ className = '', value = '', name = '', - onChange = (e) => {}, + onChange, }: RadioProps) { const classNames = [ s.container, diff --git a/src/components/Radio/radio.module.css b/src/components/Radio/radio.module.css index 478b299..83cf8f2 100644 --- a/src/components/Radio/radio.module.css +++ b/src/components/Radio/radio.module.css @@ -76,10 +76,11 @@ /* Style the indicator (dot/circle) */ .container .checkmark:after { - top: 8px; - left: 8px; + top: calc(50% - 4px); + left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: white; + position: relative; }