feat(project): 업무 팝업 세션·우선순위·마감일을 한 줄로
세 항목이 한 줄씩 3행을 차지하던 것을 한 줄(칸 사이 세로선)로 묶었다.
- 첫 칸(세션) 라벨 폭을 위아래 행과 맞춰 아이콘·값이 같은 세로선에 온다.
- 우선순위·마감일 칸은 라벨 글자로 충분해 아이콘을 빼 폭을 아꼈다.
- 패널이 좁으면(560px 이하, container query) 마감일 칸만 다음 줄로
넘어가고 값 위치는 다른 행과 맞춘다.
- 날짜 입력칸 폭이 .pj-modal-card input[type=date]{width:100%} 에 덮여
셀 밖으로 넘치던 것을 선택자 강화로 수정.
- 캐시 버전 20260923d.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+28
-2
@@ -468,16 +468,42 @@
|
||||
.pj-meta-label2 { flex: 0 0 92px; font-size: 13px; font-weight: 600; color: var(--pj-ink-soft); }
|
||||
.pj-meta-value2 { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
|
||||
.pj-meta-ic { font-size: 18px; color: #9aa1a9; flex: none; }
|
||||
.pj-meta-value2 select, .pj-meta-value2 input {
|
||||
.pj-meta-value2 select, .pj-meta-value2 input,
|
||||
.pj-meta-cell select, .pj-meta-cell input {
|
||||
display: block; width: auto; max-width: 100%; margin: 0 !important; padding: 6px 8px !important;
|
||||
border: 1px solid transparent !important; border-radius: 6px !important; background: transparent !important;
|
||||
font-size: 13.5px !important; font-weight: 600; font-family: inherit; color: var(--pj-ink);
|
||||
box-sizing: border-box; cursor: pointer;
|
||||
}
|
||||
.pj-meta-value2 select:hover, .pj-meta-value2 input:hover,
|
||||
.pj-meta-value2 select:focus, .pj-meta-value2 input:focus {
|
||||
.pj-meta-value2 select:focus, .pj-meta-value2 input:focus,
|
||||
.pj-meta-cell select:hover, .pj-meta-cell input:hover,
|
||||
.pj-meta-cell select:focus, .pj-meta-cell input:focus {
|
||||
border-color: var(--pj-border) !important; background: #f6f7f8 !important; outline: none;
|
||||
}
|
||||
/* 세션 · 우선순위 · 마감일 한 줄 — 칸마다 "작은 라벨 + 아이콘 + 값". 칸 사이는
|
||||
얇은 세로선. 패널이 좁아 한 줄에 안 들어가면 칸 단위로 다음 줄로 넘어간다. */
|
||||
.pj-meta-row-multi { gap: 0; flex-wrap: wrap; padding: 2px 0; }
|
||||
.pj-meta-cell { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 36px; }
|
||||
.pj-meta-cell-stage { flex: 1 1 150px; }
|
||||
.pj-meta-cell-priority { flex: 0 1 auto; }
|
||||
.pj-meta-cell-due { flex: 0 1 auto; }
|
||||
.pj-meta-cell + .pj-meta-cell { border-left: 1px solid #eef0f2; padding-left: 10px; margin-left: 10px; }
|
||||
.pj-meta-cell-label { font-size: 13px; font-weight: 600; color: var(--pj-ink-soft); white-space: nowrap; }
|
||||
/* 첫 칸 라벨은 위아래 행 라벨(.pj-meta-label2 92px + 간격 12px)과 폭을 맞춰
|
||||
아이콘(104px)·값(130px)이 담당자/팔로워 행과 같은 세로선에 오게 한다. */
|
||||
.pj-meta-cell-stage .pj-meta-cell-label { flex: 0 0 92px; margin-right: 4px; }
|
||||
.pj-meta-cell select { flex: 1 1 auto; min-width: 0; width: 100%; }
|
||||
.pj-meta-cell-priority select { width: auto; }
|
||||
/* .pj-modal-card input[type=date]{width:100%} 가 파일 뒤쪽에 있어 선택자를 한 단계 더 세게 */
|
||||
.pj-meta-row-multi .pj-meta-cell-due input[type=date] { width: 132px; flex: none; }
|
||||
/* 패널이 좁으면(너비 조절/작은 화면) 마감일 칸만 다음 줄로 — 그때는 세로선 없이
|
||||
값이 위아래 행 값(130px)과 같은 세로선에 오게 라벨 폭을 맞춘다. */
|
||||
.pj-task-modal-card { container-type: inline-size; container-name: pjpanel; }
|
||||
@container pjpanel (max-width: 560px) {
|
||||
.pj-meta-cell-due { flex-basis: 100%; border-left: none !important; padding-left: 0 !important; margin-left: 0 !important; }
|
||||
.pj-meta-cell-due .pj-meta-cell-label { flex: 0 0 122px; } /* +간격 8 = 값 130px */
|
||||
}
|
||||
.pj-extra-label { font-size: 12.5px; font-weight: 700; color: var(--pj-ink-soft); margin-right: auto; }
|
||||
.pj-modal-card label { display: block; font-size: 12.5px; font-weight: 600; color: #525860; margin-bottom: 12px; }
|
||||
.pj-modal-card input[type=text], .pj-modal-card input[type=date], .pj-modal-card textarea, .pj-modal-card select {
|
||||
|
||||
Reference in New Issue
Block a user