fix(ui): prevent radio button dot shift when checked (#11608)

Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pablo Fernandez Guerra (PFE)
2026-06-16 11:54:14 +02:00
committed by GitHub
co-authored by Pablo F.G Claude Opus 4.8
parent 3960827a9c
commit 26b8c6b663
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -4,6 +4,10 @@ All notable changes to the **Prowler UI** are documented in this file.
## [1.31.0] (Prowler UNRELEASED)
### 🐞 Fixed
- Radio button no longer shifts vertically when selected [(#11608)](https://github.com/prowler-cloud/prowler/pull/11608)
### 🔐 Security
- Bump vulnerable `Next.js`, React, AI SDK, `postcss`, `hono`, `qs`, `esbuild`, and Alpine OpenSSL packages (`libcrypto3` and `libssl3`) [(#11581)](https://github.com/prowler-cloud/prowler/pull/11581)
@@ -35,9 +35,9 @@ function RadioGroupItem({
>
<RadioGroupPrimitive.Indicator
data-slot="radio-group-indicator"
className="grid place-content-center"
className="relative flex items-center justify-center"
>
<span className="bg-button-primary size-2 rounded-full" />
<span className="bg-button-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full" />
</RadioGroupPrimitive.Indicator>
</RadioGroupPrimitive.Item>
);