There was an error while loading. Please reload this page.
1 parent a49e2f2 commit dcda5ffCopy full SHA for dcda5ff
1 file changed
apps/webapp/app/components/primitives/Switch.tsx
@@ -102,12 +102,6 @@ export const Switch = React.forwardRef<React.ElementRef<typeof SwitchPrimitives.
102
root
103
)}
104
>
105
- {/*
106
- The `group-active:` classes in `thumb` stretch it into an oval while the switch is held
107
- down. An unchecked thumb is flush with the left of the track, so extra width grows it
108
- rightwards on its own; a checked thumb gives back the same amount of translation to stay
109
- pinned right and grow leftwards instead.
110
- */}
111
<SwitchPrimitives.Thumb
112
className={cn(
113
thumb,
0 commit comments