fix(project): 캘린더 — 댓글 아이콘은 대화창만, 한 달이 스크롤 없이, 막대가 공휴일 이름을 안 가리게
- 캘린더 막대의 댓글 말풍선을 누르면 막대 누르기(편집 창 열기·드래그)를 시작하지 않는다 — 댓글 대화창만 열린다 - 캘린더 보기를 세로로 채우고 주(행)가 남은 높이를 나눠 씀(주 최소 134px → 82px), 주마다 막대 줄 수를 실제 높이로 계산(다 들어가면 전부, 넘치면 "+N 더"), 창 크기가 바뀌면 다시 계산 - 공휴일 이름을 날짜 숫자와 한 줄에 — 34px 아래부터 그리는 막대에 가려지지 않음 - 정적 파일 버전 20260926t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+14
-4
@@ -400,15 +400,25 @@
|
||||
.pj-today-btn { margin-left: auto; }
|
||||
|
||||
.pj-cal { border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
|
||||
/* 캘린더 — 한 달이 스크롤 없이 화면에 다 들어가게: 보기 영역을 세로로 채우고 주(행)들이 남은 높이를
|
||||
똑같이 나눠 쓴다(막대 줄 수는 JS 가 실제 높이로 계산, 넘치면 "+N 더"). */
|
||||
.pj-view[data-view="calendar"]:not([hidden]) { display: flex; flex-direction: column; overflow: hidden; }
|
||||
.pj-view[data-view="calendar"] .pj-cal-head { flex: none; }
|
||||
.pj-view[data-view="calendar"] .pj-cal { flex: 1 1 auto; min-height: 0; }
|
||||
.pj-view[data-view="calendar"] .pj-wd-row { flex: none; }
|
||||
.pj-wd-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #f2f2f2; border-bottom: 1px solid #e5e5e5; }
|
||||
.pj-wd { text-align: center; padding: 8px 0; font-size: 15px; font-weight: 600; color: #0a0a0a; border-right: 1px solid #e5e5e5; }
|
||||
.pj-wd:last-child { border-right: none; }
|
||||
|
||||
/* 주(week) — 날짜 셀 위에 bar 레이어 오버레이. 6주가 높이 균등 분할. */
|
||||
.pj-week { position: relative; border-bottom: 1px solid #e5e5e5; flex: 1 1 0; min-height: 134px; display: flex; flex-direction: column; }
|
||||
.pj-week { position: relative; border-bottom: 1px solid #e5e5e5; flex: 1 1 0; min-height: 82px; display: flex; flex-direction: column; }
|
||||
.pj-week:last-child { border-bottom: none; }
|
||||
.pj-week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); flex: 1 1 auto; min-height: 0; }
|
||||
.pj-day { height: 100%; border-right: 1px solid #e5e5e5; padding: 6px 8px; box-sizing: border-box; }
|
||||
/* 날짜 칸 — 날짜 숫자와 공휴일 이름을 한 줄에(막대는 34px 아래부터라 공휴일 이름을 가리지 않는다) */
|
||||
.pj-day {
|
||||
height: 100%; border-right: 1px solid #e5e5e5; padding: 6px 8px; box-sizing: border-box;
|
||||
display: flex; align-items: baseline; gap: 6px; min-width: 0;
|
||||
}
|
||||
.pj-day:last-child { border-right: none; }
|
||||
.pj-day-num { font-size: 20px; font-weight: 600; color: #0a0a0a; }
|
||||
.pj-out { background: #fafafa; }
|
||||
@@ -423,8 +433,8 @@
|
||||
#pj-timeline .vis-time-axis .vis-text.pj-tl-blue { color: #1d4ed8; }
|
||||
#pj-timeline .vis-time-axis .vis-text.pj-tl-red { color: #c22b10; }
|
||||
.pj-day-holiday {
|
||||
display: block; font-size: 10.5px; color: #c22b10; font-weight: 600;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px;
|
||||
display: block; flex: 1 1 auto; min-width: 0; font-size: 11px; color: #c22b10; font-weight: 600;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||
}
|
||||
|
||||
/* bar 오버레이 — 날짜 숫자 아래(top)부터 7열 그리드로 겹쳐 그림 */
|
||||
|
||||
Reference in New Issue
Block a user