Skip to content

Commit 8ec255b

Browse files
committed
feat: fix slider
1 parent 736acde commit 8ec255b

File tree

1 file changed

+1
-1
lines changed
  • libraries/react-shared-libraries/src/form

1 file changed

+1
-1
lines changed

libraries/react-shared-libraries/src/form/slider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const Slider: FC<{
2222
<div className="w-full h-full relative rounded-[100px]">
2323
<div
2424
className={clsx(
25-
'absolute start-0 top-0 w-[24px] h-[24px] bg-customColor5 rounded-full transition-all cursor-pointer',
25+
'absolute left-0 top-0 w-[24px] h-[24px] bg-customColor5 rounded-full transition-all cursor-pointer',
2626
value === 'on' ? 'left-[100%] -translate-x-[100%]' : 'left-0'
2727
)}
2828
/>

0 commit comments

Comments
 (0)