feat: fix slider

This commit is contained in:
Nevo David 2025-06-03 23:42:28 +07:00
parent 736acde5c9
commit 8ec255b454
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export const Slider: FC<{
<div className="w-full h-full relative rounded-[100px]">
<div
className={clsx(
'absolute start-0 top-0 w-[24px] h-[24px] bg-customColor5 rounded-full transition-all cursor-pointer',
'absolute left-0 top-0 w-[24px] h-[24px] bg-customColor5 rounded-full transition-all cursor-pointer',
value === 'on' ? 'left-[100%] -translate-x-[100%]' : 'left-0'
)}
/>