ui(cupang): 달력 행 유동화(6주 균등 분할) — 1883x938 세로 스크롤 제거
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -25,15 +25,18 @@
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 320px;
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
align-items: stretch;
|
||||
flex: 1 1 auto; min-height: 0; /* 남은 높이 채움 → 문서 스크롤 방지 */
|
||||
}
|
||||
@media (max-width: 980px) { .cpg-layout { grid-template-columns: 1fr; } }
|
||||
|
||||
.cpg-cal-card, .cpg-list-card { padding: 16px; }
|
||||
.cpg-cal-card { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
|
||||
.cpg-list-card { min-height: 0; overflow-y: auto; }
|
||||
|
||||
.cpg-cal-head {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: 12px; flex-shrink: 0;
|
||||
}
|
||||
.cpg-cal-title { font-size: 18pt; font-weight: 600; letter-spacing: -0.45px; margin: 0; }
|
||||
.cpg-nav-btn { min-width: 36px; padding: 4px 10px; font-size: 18pt; line-height: 1; }
|
||||
@@ -41,7 +44,9 @@
|
||||
.cpg-cal-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
grid-template-rows: auto repeat(6, 1fr); /* 요일행 auto + 6주 균등 분할 */
|
||||
gap: 6px;
|
||||
flex: 1 1 auto; min-height: 0;
|
||||
}
|
||||
.cpg-cal-wd {
|
||||
text-align: center; font-size: 15px; font-weight: 600;
|
||||
@@ -52,7 +57,7 @@
|
||||
|
||||
.cpg-cal-cell {
|
||||
display: flex; flex-direction: column; gap: 4px;
|
||||
min-height: 96px; padding: 8px;
|
||||
min-height: 0; padding: 8px; overflow: hidden;
|
||||
border: 1px solid var(--color-subtle-ash);
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
|
||||
Reference in New Issue
Block a user