fix: 버튼을 글자만 남기고, 결정 절의 문단이 격자에 갇히던 것을 고친다
버튼이 이 사이트의 언어와 달랐다. 무채색 바탕에 타이포로만 말하는 화면에 테두리를 두른 둥근 상자와 파란 채움이 얹혀 있어서, 가장 먼저 눈에 드는 것이 목록이나 글이 아니라 버튼이었다. 페이지 이동을 `‹ 1 | 2 | 3 ›` 으로 바꾼 것과 같은 판단이다. 상자도 선도 두지 않는다. 격은 글자의 굵기와 색으로만 나눈다 — 주 동작은 진한 굵은 글자, 보조는 옅은 글자, 되돌릴 수 없는 것은 붉은 글자. 반응은 hover 에서만 밑줄로 나타난다. 누르는 자리는 44px 로 남긴다: 보이는 것이 글자뿐이어도 손가락이 닿는 범위는 좁히지 않는다. 파란 채움은 Studio 전체에서 사라진다 — 대화상자 확인, 라우트 상태 버튼, 편집기 저장·게시까지. 그리고 오늘 만든 회귀를 고친다. 프로젝트 결정 화면의 절은 `150px | 650px` 격자이고 제목이 첫 칸, 본문이 둘째 칸에 앉는다. ProseText 로 바꾸면서 문단이 여럿이 되자 둘째 문단부터 150px 칸으로 떨어져 글이 네댓 글자마다 끊겼다. 문단들을 한 칸에 묶는다. 다른 화면도 훑어 같은 사고가 없는 것을 확인했다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ
This commit is contained in:
co-authored by
Claude Opus 5
parent
795a4bf4a9
commit
805d400049
@@ -46,13 +46,22 @@ export function ProjectDecisionsPage() {
|
||||
<ProseText text={decision.summary} />
|
||||
) : null}
|
||||
</header>
|
||||
{/*
|
||||
이 절은 `150px | 650px` 격자다. 제목이 첫 칸, 본문이 둘째 칸에 앉는다.
|
||||
문단이 여럿이면 각 문단이 격자 칸을 하나씩 차지해 둘째 문단부터 150px 칸으로
|
||||
떨어진다 — 글이 네댓 글자마다 끊겨 보인다. 문단들을 한 칸에 묶는다.
|
||||
*/}
|
||||
<section>
|
||||
<h3>결정</h3>
|
||||
<ProseText text={decision.statement} />
|
||||
<div>
|
||||
<ProseText text={decision.statement} />
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<h3>판단 이유</h3>
|
||||
<ProseText text={decision.rationale} />
|
||||
<div>
|
||||
<ProseText text={decision.rationale} />
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<h3>영향</h3>
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
.studio-app .studio-item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.studio-app .studio-item-actions button,
|
||||
.studio-app .studio-add-item,
|
||||
.studio-app .studio-document-status-bar button { min-height: 44px; padding-inline: 13px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font-weight: 650; }
|
||||
.studio-app .studio-document-status-bar button { min-height: 44px; padding-inline: 2px; border: 0; background: none; color: var(--muted); font-weight: 600; }
|
||||
.studio-app .studio-item-actions button:disabled,
|
||||
.studio-app .studio-add-item:disabled { opacity: 0.45; }
|
||||
.studio-app .studio-add-item { margin-top: 12px; }
|
||||
@@ -134,8 +134,9 @@
|
||||
/* `.studio-primary-button` 은 세로로 쌓이는 자리에 맞춘 바깥 여백을 갖고 있다. 한 줄에
|
||||
나란히 두면 그 여백이 줄 높이를 늘리고, 옆 버튼만 늘어나 짝이 어긋난다. */
|
||||
.studio-app .studio-document-status-bar__actions .studio-primary-button { margin: 0; }
|
||||
.studio-app .studio-document-status-bar button { min-width: 104px; border-color: var(--signal); background: var(--signal); color: #fff; }
|
||||
.studio-app .studio-document-status-bar button:disabled { border-color: var(--line-strong); background: var(--paper); color: var(--muted); }
|
||||
/* 저장·게시는 이 화면의 주 동작이다 — 굵기와 색으로만 격을 올린다. */
|
||||
.studio-app .studio-document-status-bar button { min-width: 92px; color: var(--ink); font-weight: 700; }
|
||||
.studio-app .studio-document-status-bar button:disabled { color: var(--faint); }
|
||||
.studio-app .studio-document-status-bar .studio-editor-unplaced-issues { flex: 1 1 100%; }
|
||||
|
||||
.studio-app .studio-asset-panel { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
|
||||
@@ -235,4 +236,4 @@
|
||||
*/
|
||||
.studio-app .studio-document-status-bar__actions { gap: 12px; }
|
||||
/* 게시만 강조한다. 저장은 되돌릴 수 있으므로 같은 무게로 부를 이유가 없다. */
|
||||
.studio-app .studio-document-status-bar button:not(.studio-primary-button) { border-color: var(--line-strong); background: var(--paper); color: var(--ink); }
|
||||
.studio-app .studio-document-status-bar button:not(.studio-primary-button) { color: var(--muted); font-weight: 600; }
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
.studio-app .studio-overview-list a,
|
||||
.studio-app .studio-route-state > a { color: var(--signal); font-weight: 650; }
|
||||
.studio-app .studio-route-state { max-width: 720px; padding-block: 48px; }
|
||||
.studio-app .studio-route-state button { min-height: 44px; margin-top: 18px; padding-inline: 16px; border: 1px solid var(--signal); border-radius: 5px; background: var(--signal); color: #fff; }
|
||||
.studio-app .studio-route-state button { min-height: 44px; margin-top: 18px; padding-inline: 2px; border: 0; background: none; color: var(--ink); font-weight: 700; }
|
||||
.studio-app .studio-loading { min-height: 180px; }
|
||||
.studio-app .studio-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
||||
/* 모달 dialog 를 화면 가운데에 둔다. UA 기본값(margin:auto)에 맡기면 이 빌드에서는
|
||||
@@ -40,8 +40,10 @@
|
||||
.studio-app .studio-dialog-body h2 { margin: 0 0 12px; font-size: 26px; }
|
||||
.studio-app .studio-dialog-error { color: #8f2f27; }
|
||||
.studio-app .studio-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 28px; }
|
||||
.studio-app .studio-dialog-actions button { min-height: 44px; padding-inline: 14px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); }
|
||||
.studio-app .studio-dialog-actions button:last-child { border-color: var(--signal); background: var(--signal); color: #fff; }
|
||||
.studio-app .studio-dialog-actions button { min-height: 44px; padding-inline: 2px; border: 0; background: none; color: var(--muted); font-weight: 600; }
|
||||
.studio-app .studio-dialog-actions button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
|
||||
/* 대화상자의 확인 쪽. 여기서도 채우지 않고 밑줄로만 격을 올린다. */
|
||||
.studio-app .studio-dialog-actions button:last-child { color: var(--ink); font-weight: 700; }
|
||||
.studio-app .studio-asset-upload-dialog { position: fixed; inset: 0; margin: auto; max-height: calc(100dvh - 32px); overflow: auto; width: min(560px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); }
|
||||
.studio-app .studio-asset-upload-dialog::backdrop { background: rgba(23, 24, 27, 0.48); }
|
||||
.studio-app .studio-asset-upload-dialog .studio-dialog-status { min-height: 20px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
|
||||
@@ -52,13 +54,36 @@
|
||||
.studio-app .studio-page-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; border-bottom: 1px solid var(--line-strong); }
|
||||
.studio-app .studio-page-top .studio-page-heading { padding-bottom: 42px; }
|
||||
.studio-app .studio-primary-action,
|
||||
/*
|
||||
버튼도 글로 읽히게 둔다.
|
||||
|
||||
이 사이트는 무채색 바탕에 타이포로만 말하는데, 테두리를 두른 둥근 상자와 파란 채움만 다른
|
||||
언어를 쓰고 있었다 — 화면에서 가장 먼저 눈에 드는 것이 목록이나 글이 아니라 버튼이었다.
|
||||
페이지 이동을 `‹ 1 | 2 | 3 ›` 으로 바꾼 것과 같은 판단이다.
|
||||
|
||||
상자도 선도 두지 않는다. 격은 글자의 굵기와 색으로만 나눈다 — 주 동작은 진한 굵은 글자,
|
||||
보조는 옅은 글자, 되돌릴 수 없는 것은 붉은 글자. 반응은 hover 에서만 밑줄로 나타난다.
|
||||
누르는 자리는 44px 로 남긴다 — 보이는 것이 글자뿐이어도 손가락이 닿는 범위는 좁히지 않는다.
|
||||
*/
|
||||
.studio-app .studio-primary-button,
|
||||
.studio-app .studio-secondary-button,
|
||||
.studio-app .studio-document-tools button,
|
||||
.studio-app .studio-asset-tools button,
|
||||
.studio-app .studio-empty-state a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding-inline: 16px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font-weight: 650; }
|
||||
.studio-app .studio-empty-state a { 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-weight: 600; }
|
||||
|
||||
.studio-app .studio-primary-button:hover:not(:disabled),
|
||||
.studio-app .studio-secondary-button:hover:not(:disabled),
|
||||
.studio-app .studio-document-tools button:hover:not(:disabled),
|
||||
.studio-app .studio-asset-tools button:hover:not(:disabled),
|
||||
.studio-app .studio-empty-state a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
|
||||
|
||||
.studio-app .studio-primary-button:disabled,
|
||||
.studio-app .studio-secondary-button:disabled,
|
||||
.studio-app .studio-document-tools button:disabled,
|
||||
.studio-app .studio-asset-tools button:disabled { color: var(--faint); }
|
||||
|
||||
.studio-app .studio-primary-action,
|
||||
.studio-app .studio-primary-button { margin-bottom: 42px; border-color: var(--signal); background: var(--signal); color: #fff; }
|
||||
.studio-app .studio-primary-button { margin-bottom: 42px; border: 0; background: none; color: var(--ink); font-weight: 700; }
|
||||
.studio-app .studio-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-block: 1px solid var(--line); }
|
||||
.studio-app .studio-summary-grid div { display: grid; gap: 9px; padding: 22px; border-right: 1px solid var(--line); }
|
||||
.studio-app .studio-summary-grid div:last-child { border-right: 0; }
|
||||
@@ -107,8 +132,8 @@
|
||||
.studio-app .studio-document-row .studio-row-actions { margin-top: 0; flex-wrap: nowrap; }
|
||||
|
||||
/* 되돌릴 수 없는 동작. 눈에 띄어야 하지만 주 동작보다 앞서면 안 된다. */
|
||||
.studio-app .studio-danger-button { border-color: var(--line-strong); background: var(--paper); color: var(--danger, #b4232a); }
|
||||
.studio-app .studio-danger-button:hover:not(:disabled) { border-color: var(--danger, #b4232a); }
|
||||
.studio-app .studio-danger-button { color: var(--danger, #b4232a); }
|
||||
.studio-app .studio-danger-button:hover:not(:disabled) { color: var(--danger, #b4232a); text-decoration: underline; text-underline-offset: 5px; }
|
||||
.studio-app .studio-document-list > :first-child { border-top: 0; }
|
||||
.studio-app .studio-document-title h2 { margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
|
||||
.studio-app .studio-document-title h2 a { display: inline-flex; min-height: 44px; align-items: flex-start; }
|
||||
|
||||
Reference in New Issue
Block a user