fix(youtube-bot): 토글 스위치 위치 버그 + 방향 통일
translate-x-5.5(유효하지 않은 Tailwind 클래스)로 예정 일정/고정 멤버 토글의 knob이 움직이지 않고 색만 바뀌던 문제 수정. 모든 토글을 translate-x-5(오른쪽=활성화)로 통일. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
7d58d19737
commit
468bf1f3a7
1 changed files with 2 additions and 2 deletions
|
|
@ -702,7 +702,7 @@ function YouTubeBotDialog({ isOpen, onClose, botId = null, onSuccess }) {
|
|||
>
|
||||
<div
|
||||
className={`w-5 h-5 bg-white rounded-full shadow-sm transform transition-transform mt-0.5 ${
|
||||
autoScheduleEnabled ? 'translate-x-5.5 ml-0.5' : 'translate-x-0.5'
|
||||
autoScheduleEnabled ? 'translate-x-5' : 'translate-x-0.5'
|
||||
}`}
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -779,7 +779,7 @@ function YouTubeBotDialog({ isOpen, onClose, botId = null, onSuccess }) {
|
|||
>
|
||||
<div
|
||||
className={`w-5 h-5 bg-white rounded-full shadow-sm transform transition-transform mt-0.5 ${
|
||||
includeDefaultMembers ? 'translate-x-5.5 ml-0.5' : 'translate-x-0.5'
|
||||
includeDefaultMembers ? 'translate-x-5' : 'translate-x-0.5'
|
||||
}`}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue