Repository navigation
[DONE] 폰에서 저널 글 본문이 15px 대신 16px 로 읽힌다 - #320
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JkpZYHttxL3RMeJo4Lt
15px sat under the 16 to 18px a phone's body text keeps, on every line of the 74 posts below 721px. A 360 phone still gets 19.5 characters a line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JkpZYHttxL3RMeJo4Lt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JkpZYHttxL3RMeJo4Lt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JkpZYHttxL3RMeJo4Lt
patternflow-bot
marked this pull request as ready for review
October 28, 2026 11:04
This was referenced Oct 28, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 29, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lsh / https://claude.ai/code/session_01Bc4JkpZYHttxL3RMeJo4Lt
폰에서 저널 글 본문이 15px 였어요. 폰 본문의 흔한 범위 16~18px 보다 작았고, 74쪽 모든 줄이 그랬어요. 머지하면 360 · 390 · 430 폰에서 본문이 16px 가 되고, 360 에서도 한 줄이 19.5자 폭이라 줄 길이 범위 안이에요. 721px 위 화면은 그대로예요.
좋아지는 것: 폰에서 저널 본문 글자가 커진다 — 눈을 덜 찡그리고 읽는다
체크리스트
/journal)6a5e12a가 이미 들어 있음)608d849: Drift checks · Web CI success) · 겹침 기다리기 「안 겹친다」한 일
web/src/app/globals.css폰 덩어리(@media (max-width: 720px))의.journal-reading에서font-size를 15px 에서 16px 로 올렸어요. 행간 1.68 과 자간 −0.005em 은 em 이라 그대로 따라가고, 문단 간격 1.1em 도 그래요. 글 안 목록(li)은 이 값을 물려받아 같이 16px 가 돼요. 그림 설명, 코드, 인용은 제 크기를 따로 가져서 그대로예요.web/src/components/journal/journalCss.test.ts에 「journal text size on a phone」 시험 셋을 더했어요. 폰 규칙의 본문이 1618px 인지, 폰 규칙의 좌우 여백으로 셈한 한 줄이 360 과 430 에서 1828자 폭인지 봐요.증거
dev 빌드와 이 브랜치 빌드를 Chromium 으로 열어 getComputedStyle 과 글자마다의 Range 로 쟀어요. 저널 글 74쪽(한국어 37, 영어 37)과
/journal,/journal/en을 세 폭에서 다 열었어요.고친 값, 전 → 후(「나와 패턴플로우」,
/journal/me-and-patternflow):꽉 찬 줄의 글자 수는 띄어쓰기와 숫자까지 센 값이라 폭 ÷ 글자 크기보다 커요. 상자의 한글 대체 글꼴은 폰 글꼴과 폭이 달라서, 잴 기준은 폭 ÷ 글자 크기로 봤어요. 전 값은 이 브랜치 빌드에 폰 덩어리
.journal-reading{font-size:15px}를 덮어 쟀고, 줄 수가 dev 빌드에서 잰 546 · 495 · 441 과 같았어요.74쪽 전체, 전 → 후:
/en판(같은 규칙) 390 에선 꽉 찬 줄의 글자 수 가운데값이 53 → 50(가장 긴 줄 62 → 58)이에요. 영문 35~60자 안이에요. 360 은 48 → 45, 430 은 60 → 56 이에요.창작자가 짚은 자간과 행간은 고치지 않았어요. 본문 자간 −0.005em(−0.075px → −0.08px), 행간 1.68(25.2px → 26.9px)이 360 · 390 · 430 모두 같고, 기준(자간 −0.03
0em, 행간 1.61.8, 영문 1.5~1.7) 안이라서예요.721px 위는 그대로예요. 바뀐 줄은 폰 덩어리 안 한 줄이고, 1440 사진은 전후가 바이트까지 같아요(md5
860492cb57007d204990e45b193a76a2둘 다).새 시험을 dev 의
globals.css에 돌리면고친 뒤엔
Tests 32 passed (32)예요. 360 에서 한 줄 폭을 보는 시험은 dev 에서도 초록이에요(20.8). 18px 로 올리면 360 에서 17.3 이라 빨개져요.다섯 검사(
web/에서):사진은 같은 글 「나와 패턴플로우」, 첫 제목 「1. 인사」를 위에 둔 화면이에요.
실행법
가정
/journal, 글 안 목록이 있는 「글을 적는 이유」를 다시 쟀고, 줄바꿈은 74쪽을 세 폭에서 다 셌어요. 기준 밖은 첫 글 제목(.journal-featured h1, 36px) 행간 1.06(1.2 보다 12% 낮음), 본문 15px(16px 보다 6% 작음), 글 안 제목(h2) 행간 1.15(4% 낮음), 글 안 목록 항목 사이 0 이었어요. 숫자로는 첫 글 제목이 더 멀지만, 그 제목과 한국어 글 안 제목(h2 · h3) 66개는 세 폭 모두 한 줄이라 행간이 화면에 나오지 않아요. 영어 글 안 제목은 360 · 390 에서 다섯, 430 에서 셋이 두 줄이에요. 글 안 목록은 「글을 적는 이유」 한 편(한국어 · 영어)의 항목 셋이에요. 그래서 화면에 나오는 것 가운데 74쪽 모든 줄에 걸린 본문 크기를 골랐어요..journal-reading의 word-break 와 overflow-wrap 을 고쳤어요. 이번엔 font-size 라 속성이 겹치지 않아요. 146바퀴([DONE] 폰에서 두 줄이 된 저널 글 제목이 낱말째로 꺾이고 줄 사이가 벌어진다 #319)는.journal-article-header h1, 144바퀴([DONE] 폰에서 저널 목록의 날짜와 읽는 시간이 10.5px 대신 13px 로 읽힌다 #317)는.journal-list-meta, 143바퀴([DONE] 폰에서 저널 글이 화면 끝 48px 대신 24px 에서 시작해 한 줄이 넓어진다 #316)는.journal-panel, .journal-article이에요.incoming/은 그대로예요.Changelog
Web
경험
언제: 저널 바퀴에서 본문 글자 크기나 줄 폭을 바꿀 때
교훈: 줄 수만 세지 말고 두 글자 이하만 남은 끝 줄도 폭마다 세요. 같은 고침이 한 폭에선 늘리고 다른 폭에선 줄여요
근거: #320 에서 본문을 15px 에서 16px 로 올리니 한국어 37편의 그런 끝 줄이 390 에서 19 → 31 로 늘고, 430 에선 25 → 19 로 줄었어요
바퀴
바퀴 147 · 후보: 저널 타이포 — 고친 곳: web/src/app/globals.css ·
@media (max-width: 720px)의.journal-reading· font-size(15px → 16px) · 까닭: 폰 360 · 390 · 430 에서 74쪽 본문이 15px 로 본문 기준 1618px 보다 6% 작았고, 16px 에도 한 줄이 19.523.9자 폭(기준 18~28)이다다음 바퀴
.journal-reading p에text-wrap: pretty를 두면 끝 줄을 앞 줄과 나눠요. 줄 수가 늘지 않는지 같이 재요./journal첫 글 제목(.journal-featured h1, 폰 36px)이 행간 1.06(12% 낮음)에word-break: normal이에요. 146바퀴가 글 제목에 한 것과 같은 꼴인데, 지금 첫 글 「나와 패턴플로우」는 세 폭 모두 한 줄이라 화면에선 보이지 않아요.list-style: none·padding-left: 0), 항목 사이가 0 이에요(문단 간격 1.1em). 이번 바퀴 뒤 390 에서 항목 셋이 11줄로 한 덩어리예요.https://claude.ai/code/session_01Bc4JkpZYHttxL3RMeJo4Lt
Generated by Claude Code