화면 정리: 한눈에 들어오게 (홈 게임 타일·종류 탭, 방 안 상단 막대 한 줄, 대기실·결과·설정 간소화)
"한 화면에 정보가 너무 많아 한눈에 들어오지 않는다" 피드백. NN/g 점진적 공개, 토스 "한 화면 한 가지", BGA 화면 지침, Hick의 법칙을 참고해 docs/07 §1에 원칙 8번으로 정리하고 화면에 적용했다. - 홈·게임 목록: 게임 카드를 아이콘·이름·"2명 · 5~15분" 타일로 줄이고(설명·난이도는 게임 소개에만), 휴대폰 3열. [전체][판·주사위][카드·패][여럿이 파티] 탭. 휴대폰 홈 세로 길이 약 1/4. 휴대폰에서 [방 만들기]는 한 줄, [코드로 참여]·[컴퓨터와 연습]은 나란히. - 방 안: 사이트 상단 메뉴를 숨기고 방 막대 한 줄만(--site-h 변수, 방 안에서는 0). - 대기실: 초대 카드는 빈자리가 있을 때만, 버튼은 [링크 복사][공유하기/초대글 복사] 두 개 (QR은 빈자리 칸 "+ 빈자리 · 📷 QR로 초대"). PC 대기실의 규칙 전문 카드와 "바꾸면 바로 적용돼요" 제거. 게스트 경고는 시작 버튼 아래 한 줄로. - 채팅 빠른 반응은 한 줄(넘치면 옆으로). - 결과 창: 진한 버튼은 [한 판 더] 하나, [판 보기][▶ 다시 보기]는 한 줄. - 설정(/me): 항목 이름과 선택지를 한 줄에. - E2E: 다시 보기 링크 이름, 컴퓨터 상대의 "게임 중 홈으로"는 앱 안 이동으로. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,7 @@ function useCompact(): boolean {
|
||||
|
||||
const CSS = `
|
||||
.mb-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
|
||||
.mb-box { position: relative; width: 100%; max-width: min(100%, calc(100vh - 64px - 52px - 36px)); aspect-ratio: 1 / 1; }
|
||||
.mb-box { position: relative; width: 100%; max-width: min(100%, calc(100vh - var(--site-h) - 52px - 36px)); aspect-ratio: 1 / 1; }
|
||||
@media (max-width: 1099px) { .mb-box { max-width: min(100%, 760px); } }
|
||||
.mb-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 16px; box-shadow: var(--shadow); background: var(--surface-2); touch-action: manipulation; user-select: none; }
|
||||
.mb-cell { cursor: pointer; outline: none; }
|
||||
|
||||
@@ -83,7 +83,7 @@ const CSS = `
|
||||
@media (min-width: 1100px) {
|
||||
.yt-wrap { display: grid; grid-template-columns: 380px minmax(0, 1fr); align-items: start; max-height: 100%; }
|
||||
.yt-die { --s: 64px; }
|
||||
.yt-sheet { max-height: calc(100vh - 64px - 52px - 40px); }
|
||||
.yt-sheet { max-height: calc(100vh - var(--site-h) - 52px - 40px); }
|
||||
.yt-table th, .yt-table td { height: 34px; }
|
||||
.yt-cell { height: 30px; }
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ const CSS = `
|
||||
.yut-ctrl { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
|
||||
@media (min-width: 1100px) {
|
||||
.yut-wrap { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; }
|
||||
.yut-board-box { max-width: min(100%, calc(100vh - 64px - 52px - 40px)); }
|
||||
.yut-board-box { max-width: min(100%, calc(100vh - var(--site-h) - 52px - 40px)); }
|
||||
}
|
||||
.yut-chips { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.yut-chip { min-width: 64px; min-height: 64px; border-radius: 14px; border: 3px solid var(--border); background: var(--surface); color: var(--text);
|
||||
|
||||
Reference in New Issue
Block a user