Files
tech-log-frontend/src/features/tech-log/presentation/styles/publication-flow.module.css
T
DongHyeonkaandClaude Opus 5 9e5642cd9f fix: 작업본 프로젝트 필터·카탈로그 100개 상한·게시 기록 필터 줄
세 가지가 각각 다른 곳에서 조용히 깨져 있었다.

작업본 목록의 프로젝트·정렬은 주소에 적히자마자 지워졌다. 라우트 검색 코덱이
STRIP_UNKNOWN 이라 선언하지 않은 키를 버리는데 `project` 와 `sort` 가 없었다 —
화면은 주소를 쓰고 라우터가 그것을 지워서, 프로젝트를 골라도 목록이 그대로였다.

카탈로그는 한 번만 불렀다. 한 번의 상한은 계약이 100으로 정해 두었으므로,
기록이 101개가 된 날 101번째부터는 관계 대상 선택에도 프로젝트 필터에도 나타나지
않았다. 응답의 `nextCursor` 를 따라 끝까지 읽는다.

게시 기록의 필터 줄은 세 칸 격자에 「검색칸 · 버튼 · 이벤트」로 잘려, 검색칸이
871px 로 벌어지고 이벤트 셀렉트는 91px 로 눌렸다 — 「게시 취소」가 그 너비에
들어가지 않았다. 버튼을 검색칸에 붙이고 칸을 둘로 줄인다.

검색 안내는 「제목 또는 요약」·「제목, 요약, slug」라고 적혀 있었지만 서버가 뒤지는
것은 제목뿐이다. 적힌 대로 고친다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PTnWufiY9ATv57egkKKVAV
2026-09-09 19:53:50 +09:00

582 lines
9.8 KiB
CSS

.page,
.snapshotPage {
min-width: 0;
}
.heading {
max-width: 780px;
padding-bottom: 44px;
border-bottom: 1px solid var(--line-strong);
}
.heading h1,
.routeState h1 {
margin: 0 0 16px;
font-size: clamp(36px, 6vw, 62px);
line-height: 1.08;
letter-spacing: -0.045em;
overflow-wrap: anywhere;
}
.heading > p:last-child,
.routeState > p {
color: var(--muted);
line-height: 1.75;
}
.eyebrow {
margin: 0 0 13px;
color: var(--muted);
font-family: "IBM Plex Mono", monospace;
font-size: 11px;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.loading {
min-height: 220px;
color: var(--muted);
}
.routeState,
.errorState,
.emptyState {
max-width: 740px;
padding-block: 48px;
}
.routeState a,
.routeState button,
.errorState button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
margin-top: 18px;
padding-inline: 2px;
border: 0;
background: none;
color: var(--ink);
font-weight: 700;
}
.routeState a:hover,
.routeState button:hover,
.errorState button:hover {
text-decoration: underline;
text-underline-offset: 5px;
}
.summary {
margin-top: 30px;
border-block: 1px solid var(--line);
}
.summary dl {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 0;
}
.summary dl > div {
min-width: 0;
padding: 20px;
border-right: 1px solid var(--line);
}
.summary dl > div:last-child {
border-right: 0;
}
.summary dt,
.snapshotToolbar dt {
color: var(--muted);
font-size: 11px;
}
.summary dd,
.snapshotToolbar dd {
margin: 7px 0 0;
font-size: 14px;
overflow-wrap: anywhere;
}
.changeSummary,
.publishAction,
.blocked,
.gateReady {
max-width: 850px;
padding-block: 42px;
border-bottom: 1px solid var(--line);
}
.changeSummary h2,
.publishAction h2,
.blocked h2,
.gateReady h2,
.errorState h2,
.emptyState h2 {
margin: 0 0 12px;
font-size: 27px;
line-height: 1.3;
overflow-wrap: anywhere;
}
.changeSummary p,
.publishAction > p,
.blocked p,
.gateReady p,
.errorState p,
.emptyState p {
color: var(--muted);
line-height: 1.75;
}
.blocked {
margin-top: 30px;
padding-inline: 22px;
border-left: 3px solid #9a611e;
background: #fff9f0;
}
.blocked a,
.gateReady a {
display: inline-flex;
min-height: 44px;
align-items: center;
color: var(--signal);
font-weight: 650;
}
.gateReady {
margin-top: 30px;
padding-inline: 22px;
border-left: 3px solid #2d7257;
background: #f4fbf7;
}
.warningGroup {
margin: 26px 0 0;
padding: 0;
border: 0;
border-top: 1px solid var(--line-strong);
}
.warningGroup legend {
padding: 22px 0 0;
font-size: 17px;
font-weight: 700;
}
.warningGroup > p,
.noWarnings {
margin: 8px 0 16px;
color: var(--muted);
font-size: 13px;
}
.warningList {
border-bottom: 1px solid var(--line);
}
.warningItem {
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
gap: 13px;
min-height: 66px;
align-items: start;
padding-block: 16px;
border-top: 1px solid var(--line);
cursor: pointer;
}
.warningItem input {
width: 20px;
height: 20px;
margin-top: 2px;
accent-color: var(--signal);
}
.warningItem span {
display: grid;
min-width: 0;
gap: 4px;
}
.warningItem strong {
font-family: "IBM Plex Mono", monospace;
font-size: 12px;
overflow-wrap: anywhere;
}
.warningItem small {
color: var(--muted);
line-height: 1.6;
}
.actions,
.dialogActions,
.rowActions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.actions {
justify-content: flex-end;
margin-top: 28px;
}
/*
Studio 의 나머지 화면과 같은 언어를 쓴다 — 상자도 선도 두지 않고 글자의 굵기와 색으로만
격을 나눈다. 이 화면은 CSS module 을 쓰므로 `.studio-app` 규칙이 닿지 않아, 다른 화면에서
파란 채움을 걷어낸 뒤에도 「Snapshot 보기」·「게시 취소」·「적용」만 상자로 남아 있었다.
*/
.actions a,
.actions button,
.rowActions a,
.rowActions button,
.filters button,
.dialogActions button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
padding-inline: 2px;
border: 0;
border-radius: 0;
background: none;
color: var(--muted);
font: inherit;
font-size: 13px;
font-weight: 600;
}
/* 각 화면의 주 동작. 진한 굵은 글자로만 올린다. */
.actions button,
.filters button {
color: var(--ink);
font-weight: 700;
}
.actions a:hover,
.actions button:hover:not(:disabled),
.rowActions a:hover,
.rowActions button:hover:not(:disabled),
.filters button:hover:not(:disabled),
.dialogActions button:hover:not(:disabled) {
color: var(--ink);
text-decoration: underline;
text-underline-offset: 5px;
}
.actions button:disabled,
.dialogActions button:disabled {
color: var(--faint);
cursor: not-allowed;
}
.error {
margin-top: 18px;
padding: 13px 15px;
border-left: 3px solid #a13b31;
background: #fff7f4;
color: #75271f !important;
}
.success {
margin-top: 22px;
padding: 13px 15px;
border-left: 3px solid #2d7257;
background: #f4fbf7;
color: #215943;
}
/*
칸은 둘이다 — 검색(칸+버튼)과 이벤트. 셋으로 두었을 때 버튼이 가운데 칸을 190px 차지하면서
검색칸이 871px 로 벌어지고 이벤트 셀렉트가 91px 로 눌렸다. 셀렉트 안의 「게시 취소」가 그
너비에 들어가지 않아, 무엇으로 거르는 중인지 읽을 수 없었다.
*/
.filters {
display: grid;
grid-template-columns: minmax(260px, 1fr) 200px;
gap: 14px;
align-items: end;
padding-block: 28px;
border-bottom: 1px solid var(--line-strong);
}
.filters label,
.searchField {
display: grid;
min-width: 0;
gap: 7px;
color: var(--muted);
font-size: 12px;
font-weight: 650;
}
.searchField > div {
display: flex;
min-width: 0;
align-items: center;
gap: 12px;
}
.searchField input {
flex: 1 1 auto;
}
.searchField button {
flex: 0 0 auto;
}
.filters input,
.filters select {
width: 100%;
min-width: 0;
min-height: 44px;
padding-inline: 12px;
border: 1px solid var(--line-strong);
border-radius: 5px;
background: var(--paper);
color: var(--ink);
font: inherit;
}
.historyList {
margin: 28px 0 0;
padding: 0;
border-top: 1px solid var(--line-strong);
list-style: none;
}
.historyRow {
display: grid;
grid-template-columns: 100px minmax(260px, 1fr) 180px minmax(160px, auto);
gap: 20px;
align-items: start;
padding-block: 25px;
border-bottom: 1px solid var(--line);
}
.eventType,
.kind {
margin: 3px 0 0;
color: var(--muted);
font-family: "IBM Plex Mono", monospace;
font-size: 11px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.eventMain {
min-width: 0;
}
.eventMain h2 {
margin: 5px 0 0;
font-size: 17px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.eventMain > p:last-child,
.historyRow time {
margin: 6px 0 0;
color: var(--muted);
font-size: 12px;
line-height: 1.6;
overflow-wrap: anywhere;
}
.rowActions {
justify-content: flex-end;
}
.rowActions a,
.rowActions button {
color: var(--signal);
}
.dialog {
/* studio.css 의 두 다이얼로그와 같은 이유로 명시한다 — UA 기본 margin:auto 에
맡기면 좌상단에 붙는다. */
position: fixed;
inset: 0;
margin: auto;
width: min(580px, calc(100% - 32px));
max-height: calc(100dvh - 32px);
padding: 0;
overflow: auto;
border: 1px solid var(--line-strong);
border-radius: 8px;
background: var(--paper);
color: var(--ink);
}
.dialog::backdrop {
background: rgba(23, 24, 27, 0.5);
}
.dialogBody {
padding: 30px;
}
.dialogBody h2 {
margin: 0 0 12px;
font-size: 28px;
}
.dialogBody > p {
line-height: 1.7;
}
.preservedNote {
margin-top: 22px;
padding: 17px;
border-left: 3px solid #2d7257;
background: #f4fbf7;
}
.preservedNote p {
margin: 6px 0 0;
color: var(--muted);
line-height: 1.6;
}
.dialogActions {
justify-content: flex-end;
margin-top: 28px;
}
.dialogActions button:last-child {
border-color: #9b342d;
background: #9b342d;
color: #fff;
}
.snapshotToolbar {
display: grid;
grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.4fr) auto;
gap: 24px;
align-items: center;
padding-bottom: 28px;
border-bottom: 1px solid var(--line-strong);
}
.snapshotTitle {
margin: 0;
font-size: 21px;
font-weight: 700;
}
.snapshotToolbar dl {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin: 0;
}
.snapshotToolbar a {
display: inline-flex;
min-height: 44px;
align-items: center;
color: var(--signal);
font-size: 13px;
font-weight: 650;
}
.snapshotDocument {
min-width: 0;
padding-top: 30px;
}
.snapshotDocument :global(.public-record-embedded) {
width: 100%;
}
@media (max-width: 980px) {
.summary dl {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.summary dl > div:nth-child(2) {
border-right: 0;
}
.summary dl > div:nth-child(-n + 2) {
border-bottom: 1px solid var(--line);
}
.historyRow {
grid-template-columns: 84px minmax(0, 1fr) 170px;
}
.rowActions {
grid-column: 2 / -1;
}
.snapshotToolbar {
grid-template-columns: minmax(0, 1fr) auto;
}
.snapshotToolbar dl {
grid-column: 1 / -1;
grid-row: 2;
}
}
@media (max-width: 767px) {
.heading {
padding-bottom: 32px;
}
.summary dl,
.filters,
.historyRow,
.snapshotToolbar,
.snapshotToolbar dl {
grid-template-columns: minmax(0, 1fr);
}
.summary dl > div,
.summary dl > div:nth-child(2) {
border-right: 0;
border-bottom: 1px solid var(--line);
}
.summary dl > div:last-child {
border-bottom: 0;
}
.filters button,
.actions a,
.actions button,
.rowActions a,
.rowActions button,
.dialogActions button {
width: 100%;
}
.historyRow {
gap: 8px;
}
.rowActions,
.snapshotToolbar dl {
grid-column: 1;
}
.rowActions,
.actions,
.dialogActions {
align-items: stretch;
flex-direction: column;
}
.dialogBody {
padding: 24px 20px;
}
}