fix: 화면 저장 후 버튼 텍스트 색상 수정

🐛 버그 수정
- 화면 저장 성공 모달의 버튼 텍스트가 검은색으로 표시되던 문제 해결
- '화면 목록으로 이동' 버튼에 text-white 추가
- '메뉴에 할당' 버튼에 text-white 추가
- '화면 교체' 버튼에 text-white 추가

🎨 변경 내용
- bg-green-600 → bg-green-600 text-white
- bg-blue-600 → bg-blue-600 text-white
- bg-orange-600 → bg-orange-600 text-white

📝 관련 파일
- frontend/components/screen/MenuAssignmentModal.tsx

 결과
- 모든 버튼 텍스트가 흰색으로 정상 표시됨
This commit is contained in:
kjs 2025-10-31 18:21:03 +09:00
parent cd5e7095cd
commit 1d9634ac41
1 changed files with 3 additions and 3 deletions

View File

@ -380,7 +380,7 @@ export const MenuAssignmentModal: React.FC<MenuAssignmentModalProps> = ({
onClose();
}
}}
className="bg-green-600 hover:bg-green-700"
className="bg-green-600 text-white hover:bg-green-700"
>
<Monitor className="mr-2 h-4 w-4" />
@ -536,7 +536,7 @@ export const MenuAssignmentModal: React.FC<MenuAssignmentModalProps> = ({
<Button
onClick={handleAssignScreen}
disabled={!selectedMenu || assigning}
className="bg-blue-600 hover:bg-blue-700"
className="bg-blue-600 text-white hover:bg-blue-700"
>
{assigning ? (
<>
@ -616,7 +616,7 @@ export const MenuAssignmentModal: React.FC<MenuAssignmentModalProps> = ({
await performAssignment(true);
}}
disabled={assigning}
className="bg-orange-600 hover:bg-orange-700"
className="bg-orange-600 text-white hover:bg-orange-700"
>
{assigning ? (
<>