Skip to content

Commit 46073b2

Browse files
Copilothotlong
andcommitted
fix: use standard Tailwind class h-5 instead of h-4.5 in ToggleIndicator
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 8147c33 commit 46073b2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/console/src/components/ViewConfigPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ function SectionHeader({ title }: { title: string }) {
7979
function ToggleIndicator({ enabled }: { enabled: boolean }) {
8080
return (
8181
<div
82-
className={`w-8 h-4.5 rounded-full relative transition-colors ${
82+
className={`w-8 h-5 rounded-full relative transition-colors ${
8383
enabled ? 'bg-primary' : 'bg-muted'
8484
}`}
8585
role="img"
8686
aria-label={enabled ? 'Enabled' : 'Disabled'}
8787
>
8888
<div
89-
className={`absolute top-0.5 w-3.5 h-3.5 rounded-full bg-white shadow-sm transition-transform ${
90-
enabled ? 'translate-x-4' : 'translate-x-0.5'
89+
className={`absolute top-0.5 w-4 h-4 rounded-full bg-white shadow-sm transition-transform ${
90+
enabled ? 'translate-x-3.5' : 'translate-x-0.5'
9191
}`}
9292
/>
9393
</div>

0 commit comments

Comments
 (0)