Repository navigation
[DONE] 폰에서 저널 글 안 두 줄 제목이 1.15 대신 1.25 로 서서 덜 붙는다 - #324
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JksmYCKuhS3CeYe8ndf
At 1.15 the letters of the five two-line headings were 1.9 to 2.9px apart at 390. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JksmYCKuhS3CeYe8ndf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JksmYCKuhS3CeYe8ndf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bc4JksmYCKuhS3CeYe8ndf
patternflow-bot
marked this pull request as ready for review
October 28, 2026 12:33
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_01Bc4JksmYCKuhS3CeYe8ndf
폰에서 저널 글 안 제목(h2 · h3)은 행간이 1.15 라서, 두 줄이 되는 영어 제목 다섯은 윗줄과 아랫줄 글자 사이가 1.9px 까지 붙었어요. 머지하면 그 제목이 1.25 로 서서 3.8px 로 벌어지고, 줄바꿈과 721px 위 화면은 그대로예요.
좋아지는 것: 폰에서 저널 글 안 두 줄 제목이 덜 붙는다 — 윗줄과 아랫줄 글자가 엉기지 않는다
체크리스트
150바퀴([DONE] 폰에서 저널 글이 화면 끝 48px 대신 24px 에서 시작해 한 줄이 넓어진다 #316[DONE] 폰에서 저널 첫 글 제목이 낱말째로 꺾이고 줄 사이가 1.2 로 선다 #323)가 고친 요소 · 속성 보기(.journal-reading h1, h2, h3의 line-height 는 처음)4aee53a가 이미 들어 있음)7427991: Drift checks · Web CI success) · 겹침 기다리기 「안 겹친다」한 일
web/src/app/globals.css폰 덩어리(@media (max-width: 720px))에.journal-reading h1, .journal-reading h2, .journal-reading h3 { line-height: 1.25; }를 더했어요. 위에 까닭 주석 세 줄을 달았어요. 721px 위의 규칙(24px · 17px, 1.15)은 그대로예요.web/src/components/journal/journalCss.test.ts에 「journal headings in a post on a phone」 시험 둘을 더했어요. 폰에서 h2 와 h3 의 행간이 1.2~1.4 인지 봐요.증거
dev 빌드와 이 브랜치 빌드를 Chromium 으로 열어 getComputedStyle 과 글자마다의 Range 로 쟀어요. 저널 글 74쪽(한국어 37, 영어 37)과
/journal,/journal/en을 세 폭에서 다 열었어요.글 묶음 25개(글 제목, 요약, 날짜 줄, 표지 설명, 본문 문단, 목록 항목, 글 안 h2 · h3, 그림 설명, 글 아래 목록, 언어 단추,
/journal의 머리, 첫 글, 목록 같은 것)를 기준에 견줬어요. 글에 인용 · 코드 · 표 · 글 안 h1 은 없어요. 기준 밖은 글 안 h2 · h3 의 행간 1.15 하나였어요(제목 기준 1.2~1.4 보다 4% 낮음). NEW 표(11px)는featured를 둔 글이 없어 지금 0곳이에요.고친 값, 전 → 후(
.journal-reading h219px · h3 16px, Inter 500 · 자간 −0.015em):글자 틈은 윗줄의 가장 깊은 내림과 아랫줄의 가장 높은 오름 사이를 캔버스 measureText 로 잰 값이에요. 세 폭 모두 1.9px 였던 것은 「The question — stop everything (and) / throw myself in?」과 「Back to AI pattern generation — / actually, this matters」예요. 3.8px 는 19px 의 0.2em 이고, 146바퀴(#319)와 150바퀴(#323)가 고친 두 제목의 틈도 고친 뒤 0.2em 이에요. 1.25 는 폰 목록 제목(
.journal-list-body strong, Inter 500 · 18px)이 이미 쓰는 값이에요.두 줄 h2 다섯은 다 영어판(
/journal/headache/en넷,/journal/why-i-write-these/en하나)이에요. 한국어 h2 · h3 66개는 세 폭 모두 한 줄이에요. 제목 글꼴은 Inter(next/font)와 Pretendard(/fonts/) 둘 다 사이트가 싣는 글꼴이라, 상자에서 잰 폭이 폰과 같아요.74쪽과 목록 둘 전체를 같은 셈으로 전후 견줬어요. 바뀐 것은 h2 · h3 의 line-height 하나예요. 줄 수, 줄마다의 글, 넘침, keep-all 은 228번 모두 같아요. 쪽 높이는 h2 · h3 가 있는 22쪽만 세 폭에서 늘었고(가장 큰 것은 390
/journal/headache/en8264 → 8285px), 목록 두 쪽과 나머지 글 52쪽은 그대로예요./en판(같은 규칙) 390 에선 두 줄 h2 다섯이 다 여기 있고, 행간 1.25 로 제목 기준(1.2~1.4) 안이에요.창작자가 짚은 자간과 행간은 고치지 않았어요. 본문 자간 −0.005em(−0.08px), 행간 1.68(26.9px)이 360 · 390 · 430 모두 같고, 기준(자간 −0.03
0em, 행간 1.61.8, 영문 1.5~1.7) 안이라서예요.721px 위는 그대로예요. 바뀐 줄은 폰 덩어리 안이고, 1440 사진은 전후가 바이트까지 같아요(md5
952ac121b5b83b8d4e0aca8d83f2e73d둘 다).새 시험을 dev 의
globals.css에 돌리면고친 뒤엔
Tests 39 passed (39)예요.다섯 검사(
web/에서):check:ci첫 판은next start를 띄운 채 돌려서HardwareModal.test.tsx의 「Esc over the Publish modal closes Publish alone and keeps the header」 하나가 초점을 못 받아 빨갰어요(1639 / 1640). 그 파일만 세 번 돌리니 32 / 32 가 세 번이었고, 서버를 끄고check:ci를 다시 돌린 판이 위 줄이에요. 저널 CSS 와 닿지 않는 Lab 시험이에요.사진은
/journal/headache/en의 「The question — stop everything and throw myself in?」 자리와/journal/headache의 첫 h2 자리를 잘라 찍었어요.실행법
가정
.journal-reading h1, h2, h3)이라 폰에서도 같이 뒀어요. 글 안 h1 은 지금 0곳이에요..journal-panel, .journal-article의 margin 과 width, 144바퀴([DONE] 폰에서 저널 목록의 날짜와 읽는 시간이 10.5px 대신 13px 로 읽힌다 #317)는.journal-list-meta의 font-size, 145바퀴([DONE] 폰에서 저널 한국어 글이 낱말 가운데서 줄이 바뀌지 않는다 #318)는.journal-reading의 word-break · overflow-wrap, 146바퀴([DONE] 폰에서 두 줄이 된 저널 글 제목이 낱말째로 꺾이고 줄 사이가 벌어진다 #319)는.journal-article-header h1의 line-height · word-break · overflow-wrap, 147바퀴([DONE] 폰에서 저널 글 본문이 15px 대신 16px 로 읽힌다 #320)는.journal-reading의 font-size, 148바퀴([DONE] 폰에서 저널 글 안 목록의 항목이 문단처럼 떨어져 읽힌다 #321)는.journal-reading li의 margin-bottom, 149바퀴([DONE] 폰에서 저널 표지 그림 설명이 낱말 가운데서 꺾이지 않는다 #322)는.journal-hero-cover figcaption의 word-break · overflow-wrap, 150바퀴([DONE] 폰에서 저널 첫 글 제목이 낱말째로 꺾이고 줄 사이가 1.2 로 선다 #323)는.journal-featured h1의 line-height · word-break · overflow-wrap 을 고쳤어요..journal-reading h1, h2, h3의 line-height 는 처음이에요.incoming/은 그대로예요.Changelog
Web
경험
언제: 저널 바퀴에서
next start로 잰 뒤 같은 상자에서npm run check:ci를 돌릴 때교훈: 재기에 쓴 서버를 먼저 끄고
check:ci를 돌려요. 띄운 채로 돌리면 저널과 닿지 않는 Lab 초점 시험이 빨개져서 헛돌아요근거: #324 에서 서버를 띄운 채 돌린
check:ci가HardwareModal.test.tsx하나로 1639 / 1640 이었고, 그 파일만은 세 번 다 초록, 서버를 끄고 다시 돌리니 1640 / 1640 이었어요바퀴
바퀴 151 · 후보: 저널 타이포 — 고친 곳: web/src/app/globals.css ·
@media (max-width: 720px)의.journal-reading h1, .journal-reading h2, .journal-reading h3· line-height(1.15 → 1.25) · 까닭: 폰 360 · 390 · 430 에서 글 안 h2 · h3 행간이 1.15 로 제목 기준 1.21.4 보다 4% 낮았고, 두 줄이 되는 h2 다섯(360 · 390, 430 은 셋)의 윗줄과 아랫줄 글자 틈이 1.92.9px 였다다음 바퀴
.journal-article-header h1)은text-wrap: balance인데 글 안 제목엔 없어요..journal-md-figure figcaption, 13px · 줄 26.3em)이 390 에서 「성공과 실패: 다음 단계」의 「IO0에 풀업저항을 달아 cold boot 문제를 해결한 / 모습」처럼 두 글자만 끝 줄에 남아요. 그림 설명 120개 가운데 390 에서 이 하나이고, 360 · 430 은 0 이에요. JetBrains Mono 엔 한글이 없어 대체 글꼴로 그려서, 폰 폭 ÷ 글자 크기로 다시 봐야 해요..journal-list-body .pf-row-d, 14px)의 행간이 1.4 예요(본문 기준 1.6~1.8 이면 12% 낮음). 74개 가운데 360 에서 「Gathering my scattered attention / back」 하나만 두 줄이고, 그 끝 줄도 낱말 하나예요. 390 · 430 은 0 이에요.Generated by Claude Code