fix(휴가): 신청 달력 공휴일 이름 크게(9→10.5px), 달력 폭 380px

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-02 15:52:49 +09:00
parent 0c17b02468
commit 4ecde312f9
10 changed files with 16 additions and 9 deletions
@@ -78,6 +78,11 @@ function check(name, cond, extra) {
return { hol: hol.classList.contains("is-sun") && hol.textContent, sat: document.querySelector('#vac-cal .pj-dp-day[data-iso="2026-10-24"]').classList.contains("is-sat"), left: box.right <= side.left };
});
check("공용 달력 서식 — 공휴일 빨강·이름, 토 파랑, 달력은 왼쪽", cal.hol === "9한글날" && cal.sat && cal.left, cal);
const holName = await p.evaluate(function () {
const h = document.querySelector('#vac-cal .pj-dp-day[data-iso="2026-10-01"] .pj-dp-hol');
return { text: h.textContent, size: parseFloat(getComputedStyle(h).fontSize), clipped: h.scrollWidth > h.clientWidth };
});
check("공휴일 이름 10.5px, 가장 긴 이름(석가탄신일)도 안 잘림", holName.text === "석가탄신일" && holName.size === 10.5 && !holName.clipped, holName);
// 하루 = 동그라미, 시작·종료 칸 자동, 종료 구분은 숨김(하루는 시작 구분만)
await day("2026-10-20");