Repository navigation
[DONE] 폰에서 저널 글을 내려 읽을 때 KO EN 이 본문 줄 끝을 가리지 않는다 - #309
Merged
Merged
Conversation
Fixed, it sat over the right end of each line that scrolled under it, 8,801 lines across the 74 posts at 390px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6RyGJH2ThE3JBCDamg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6RyGJH2ThE3JBCDamg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gdqi6RyGJH2ThE3JBCDamg
patternflow-bot
marked this pull request as ready for review
October 27, 2026 15:48
This was referenced Oct 27, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 28, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 28, 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.
dev / https://claude.ai/code/session_01Gdqi6RyGJH2ThE3JBCDamg
폰에서 저널 글을 읽으면 오른쪽 위 「KO EN」 이 화면에 붙어 있어서, 스크롤하는 본문 줄 끝 위로 겹쳐 지나갔어요. 390px 에서 글 74쪽 모두, 8,801줄이었어요. 머지하면 「KO EN」 은 처음 그 자리에 그대로 서 있다가 쪽과 같이 올라가서 본문을 가리지 않아요. 데스크톱은 그대로예요.
좋아지는 것: 폰에서 저널 글 위로 KO EN 이 겹치지 않는다 — 줄 끝까지 읽힌다
체크리스트
281e432가 이미 들어 있음) · 검사 초록 · 겹침 기다리기 「안 겹친다」한 일
web/src/app/globals.css의@media (max-width: 720px)안에.journal-article .journal-lang-switch { position: absolute; }를 더했어요. 글 쪽의 언어 전환은 위치가fixed라서, 720px 이하에서 오른쪽 22px 에 붙어 본문 칸 안에 들어와 있었어요. 감싼 상자 가운데 위치를 가진 것이 없어서top: 18px,right: 22px이 그대로 쪽 맨 위를 가리켜요. 처음 화면은 같고, 스크롤하면 쪽과 같이 올라가요..journal-panel .journal-lang-switch, 폰에서static)과 721px 이상은 건드리지 않았어요.web/src/components/journal/journalCss.test.ts에 시험 둘을 더했어요.globals.css의 720px 미디어 블록을 따로 읽어, 글 쪽 언어 전환이absolute인지, 목록 쪽 것이static그대로인지 봐요.증거
dev 빌드와 이 브랜치 빌드를
next start로 띄우고/journal,/journal/en에서 잇는 글 74쪽을 열었어요. 쪽마다.journal-article의 글자 줄(Range.getClientRects)을 다 모아, 언어 전환 링크의 x 범위에 걸치는 줄을 셌어요.fixed면 스크롤하며 그 줄이 모두 전환 밑을 지나고,absolute면 쪽 맨 위 제자리에 걸치는 줄만 세요.dev 390 의 예:
/journal/a-strange-dream은 전환이 x 323~368 에 서고, 본문 칸이 342 에서 끝나서 그 사이를 지나는 줄이 68개였어요.처음 화면은 그대로예요. dev 빌드에 이 규칙만 끼워
/journal/headache,/journal/headache/en,/journal,/journal/en을 360, 390, 720, 721, 1440 에서 견주니, 스무 경우 모두 전환의 자리(390 글 쪽은322.63, 18, 45.38 × 18.84)와 쪽 높이가 같았고 첫 화면 PNG 가 바이트까지 같았어요.새 시험을 dev 의
globals.css에 돌리면고친 뒤엔
Tests 7 passed (7)예요.다섯 검사(
web/에서):PR 의 검사(head
316e7a0):Drift checks | completed | success,Web CI | completed | success.전후 사진은 「머리아파」 한국어판과 영어판을 1,180px 내린 화면이에요. 폰 한국어판은 dev 에서 「더욱」 위에 「KO」 가 겹쳐 있고, 영어판은 줄 사이 흰 판 위에 떠 있어요. 데스크톱은 전후 PNG 가 바이트까지 같아요.
실행법
가정
<main>, OG 그림 날짜, 안 쓰는.journal-list-number)보다, 폰으로 글을 읽는 사람 모두가 글자가 가려지는 걸 보는 깨짐이라 먼저 했어요. 셋은 아래 「다음 바퀴」 에 그대로 두었어요..journal-lang-switch를 고쳤지만 글자색이었어요. 이번엔 폰에서의 자리만 바꿔서 같은 주제가 아니라고 봤어요. 그 색 규칙은 그대로예요.static).top,right는 감싼 상자에 위치가 없어서 쪽 맨 위에서 재요. 나중에.journal-article이나.journal-shell에position: relative가 붙으면 전환이 그 상자 안으로 옮겨가요. CSS 주석에 처음 자리가 같다고 적었어요.1044px 에선 전환(800px 에서 x 711766)이 흰 판의 오른쪽 끝(752)에 걸쳐 판 위를 지나가요. 본문 글자에는 닿지 않아서(본문 끝 688) 두었어요.Changelog
Web
경험
언제: CSS 한 줄이 처음 화면을 바꾸지 않는다는 걸 보일 때
교훈: 고친 판을 다시 빌드하기 전에 dev 빌드에
page.addStyleTag로 그 규칙만 끼워 첫 화면 PNG 를 바이트로 견줘요. 다시 빌드하지 않고 폭 다섯과 쪽 넷을 한 번에 봐요근거: #309 에서 이렇게 스무 경우가 모두 바이트까지 같았고, 그 뒤 고친 판을 빌드해 잰 겹침 수(8,801 → 0)도 끼운 판과 같았어요
바퀴
바퀴 136 · 후보: 저널 — 고친 곳: web/src/app/globals.css(@media (max-width: 720px) 의 .journal-article .journal-lang-switch) · 까닭: 폰에서 글 쪽의 고정된 언어 전환이 글 74쪽 모두에서 본문 줄 끝 위로 겹쳤다(390px 에서 8,801줄)
다음 바퀴
<footer>가 첫 화면용 전역footer규칙(globals.css:888, 좌우 60px, 900px 이하 0, 640px 이하30px 0 34px)을 받아요. 그래서 글 쪽 아래 목록(.journal-article-footer)은 1440 에서 본문보다 4px(306 대 310), 800 에서 64px(48 대 112), 390 에서 24px(24 대 48) 왼쪽에서 시작해요. 목록 쪽 아래 줄(.journal-index-footer)도 1440 에선 판 글과 같은 190 이지만 800 에서 48 대 108, 390 에서 24 대 48 이에요. 저널 규칙이 좌우 여백을 제 판에 맞춰 정하면 돼요.<main>이 없다:ArticleLayout.tsx:49가<article>,:90이<footer>를 바로 그려요. 목록 쪽은<main className="journal-index">예요. 133 · 135바퀴가 axe 로 글 쪽마다 landmark-one-main 을 봤어요..journal-list-number(globals.css:1144,:1321)에 더해.journal-figure,.journal-figure-wide,.journal-figure-full과 그img,video,figcaption, 폰 규칙도 컴포넌트와 글 74개 어디서도 그리지 않아요(글은journal-md-figure120곳,journal-figure-row10곳만 써요)..journal-index-thumb span,.journal-cover-slot span도next/image가<span>을 그리지 않아 닿는 것이 없어요.https://claude.ai/code/session_01Gdqi6RyGJH2ThE3JBCDamg
🤖 Generated with Claude Code