Repository navigation
[DONE] 폰에서 댓글의 Post 단추와 덱 패널의 순서 단추, 내 프로필의 단추가 오른쪽 제자리에 선다 - #283
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4QJ7c3y7Zx9hrftef1G3E
The phone rule hid every .headerSpacer, so the comment Post button, the deck panel's order buttons and Make & publish on your profile lost their push right. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4QJ7c3y7Zx9hrftef1G3E
At 390px the name and the actions take two lines, and a spacer on the first line could not push the second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4QJ7c3y7Zx9hrftef1G3E
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4QJ7c3y7Zx9hrftef1G3E
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4QJ7c3y7Zx9hrftef1G3E
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4QJ7c3y7Zx9hrftef1G3E
patternflow-bot
marked this pull request as ready for review
October 26, 2026 15:11
This was referenced Oct 26, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 27, 2026
engmung
pushed a commit
to engmung/Patternflow
that referenced
this pull request
Oct 27, 2026
Patternflow-lab#268 Patternflow-lab#271 Patternflow-lab#275 Patternflow-lab#276 Patternflow-lab#277 Patternflow-lab#279 Patternflow-lab#280 Patternflow-lab#281 Patternflow-lab#283 Patternflow-lab#284 Patternflow-lab#285 Patternflow-lab#286 Patternflow-lab#287 Patternflow-lab#288 Patternflow-lab#289 Patternflow-lab#290 Patternflow-lab#291 Patternflow-lab#292 Patternflow-lab#293 Patternflow-lab#294 Patternflow-lab#295 Patternflow-lab#296 Patternflow-lab#297 Patternflow-lab#298 Patternflow-lab#299 Patternflow-lab#300 Patternflow-lab#301 Patternflow-lab#302 Patternflow-lab#303
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_01V4QJ7c3y7Zx9hrftef1G3E
폰 규칙이 쪽 머리의 빈 칸만 숨기게 좁히고, 내 프로필의 단추 묶음은 제 여백으로 오른쪽에 서게 했어요. 머지하면 390px 에서 댓글 Post 가 x 16 대신 316 에, 덱 패널의 ↑ 다섯이 104~213 사이로 들쭉날쭉하던 자리 대신 모두 213 에, 프로필의 Make & publish 가 16 대신 234 에 서요.
좋아지는 것: 폰에서 단추들이 오른쪽 제자리에 선다 — 댓글 올리기와 덱 순서 단추를 찾지 않아도 된다
.pageHeader > .headerSpacer로 좁히기.actionRow의 빈 칸은 그 그리드가 있는 900px 덩어리에서 숨기기margin-left: autocommunityCss.test.ts에 검사 넷 (dev 에서 셋 빨갛고 고친 뒤 넷 다 초록)cac3ad7그대로라 가져올 것 없음) · CI 초록(Web CI, Drift checks,3bb525a) · 겹치는 [DONE] PR 없음한 일
components/community/Community.module.css폰 덩어리((max-width: 768px), (hover: none))가.headerSpacer를 통째로 숨겼어요. 쪽 머리에서 Patterns · Decks 메뉴가 아래 탭 바로 간 뒤 남는 빈 칸을 숨기려던 규칙이에요. 그런데 같은 span 을 단추를 오른쪽으로 미는 데 쓰는 줄이 여덟 곳 더 있었어요. 댓글 칸 아래 줄, 댓글 칸의 Write · Preview 줄, 덱 패널의 패턴 줄과 단추 줄 둘, 프로필 머리, 운영자 쪽의 신고 줄과 마퀴 편집 줄이에요. 이제 그 규칙은.pageHeader > .headerSpacer만 숨겨요. 덱 패널 창은 머리의 덱 칩 옆, 곧<header>안에 그려져서 자손 셀렉터가 아니라 자식 셀렉터예요.덱 패널의 단추 줄(
.actionRow)은 900px 밑에서 두 칸 그리드예요. 거기서 빈 칸은 칸 하나를 차지해 Empty deck 을 셋째 줄로 밀어요. 그래서 그 그리드가 있는(max-width: 900px)덩어리에.actionRow > .headerSpacer { display: none }을 뒀어요. dev 에선 폰 규칙이 이 일을 대신했는데, 769~900px 창엔 그 규칙이 닿지 않았어요. 820px 에서 Share deck 아래(y 732)로 떨어져 있던 Empty deck 이 이제 그 옆(y 706)에 서요.프로필은 빈 칸을 살리는 것만으로는 서지 않았어요. 390px 에서 「@ada YOU」 와 통계 줄이 첫 줄을 쓰고 단추 묶음은 둘째 줄로 넘어가요.
flex: 1빈 칸은 첫 줄에 남아서 둘째 줄을 밀지 못해요. 그래서.profileSelfActions에margin-left: auto를 주고app/community/u/[username]/page.tsx의 빈 칸 span 은 뺐어요. 그 묶음은 이미align-items: flex-end로 안의 sign out 을 오른쪽에 붙이고 있었어요.1440px 은 그대로예요. 가이드 연습 커뮤니티(
components/guide/desk/community/pages.tsx:54)의 빈 칸도.pageHeader의 자식이라 폰에서 그대로 숨어요.증거
Pi 와 같은
NEXT_PUBLIC_COMMUNITY_URL,NEXT_PUBLIC_BUILD_ENABLED로 빌드하고, 스크래치 DB 에 ada 하나와 공개 패턴 다섯(「Tide」, 「Slow ramps for the late set」, 「Origin, slower」, 「Night bus window」, 「Grid」)을 HTTP 로 넣었어요. 덱은pf-deck에 그 다섯을 넣고, 패널은 폰에선pf-open-deck-panel이벤트로 열었어요. 고치기 전은 같은 빌드에 dev 를 되돌려 넣고 쟀어요. 390 과 1440 은@media (max-width: 768px), (hover: none) { [class*="headerSpacer"] { display: none !important } [class*="profileSelfActions"] { margin-left: 0 !important } }, 820 은[class*="actionRow"] > [class*="headerSpacer"] { display: inline !important }예요. 첫 빌드(프로필 고침 전, dev 의 빈 칸 span 이 있는 판)에서도 390 프로필은 16156, 820 은 640780, 1440 은 1260~1400 이라 아래 「전」과 같아요. 폰은isMobile,hasTouch를 켰고 ada 로 로그인했어요. 가로 넘침(scrollWidth/visualViewport.width)은 아홉 쪽 모두 넘지 않았어요.운영자 쪽 두 줄도 390px 에서 데스크톱처럼 단추가 오른쪽으로 가요(ada 를
COMMUNITY_ADMIN_USERNAMES로 두고 신고 하나를 넣었어요).새 검사를 dev 의 CSS 로 돌렸을 때:
고친 뒤:
다섯 검사(
web/에서,ae2e19c):실행법
그 서버에
/api/auth/sign-up/email과/api/community/patterns로 가입과 패턴을 넣고, playwright-core 1.56.1 로 단추의getBoundingClientRect()를 읽었어요. 스크래치 폴더에 깔았고package.json은 그대로예요.가정
Community.module.css의 폰 규칙 하나였어요. 그 규칙만 좁히니 댓글과 덱 패널은 섰는데 프로필은 390px 에서 그대로 16~156 이었어요. 표가 바란 234 를 맞추려고.profileSelfActions의margin-left: auto와 프로필 쪽의 빈 칸 span 빼기를 더했어요. 같은 주제의 같은 줄이라 이 바퀴에 넣었어요..actionRow의 빈 칸 숨기기는 폰 덩어리가 아니라 그리드가 사는(max-width: 900px)덩어리에 뒀어요. 그래서 769~900px 창에서도 Empty deck 이 한 줄 내려가지 않아요. dev 에서 그 폭은 이미 빈 칸이 그리드 칸을 차지하고 있었어요./community/featured가 393px 로 넓어요. 마퀴 후보 카드의.cardStats(「2026-10-26 · LIK 00」)가 오른쪽 끝을 3px 넘고 탭 바가 같이 393px 가 돼요. 고치기 전과 뒤가 같아서 이 바퀴의 일이 아니에요.Changelog
Web
경험
언제: 줄이 넘어갈 수 있는(
flex-wrap) 줄에서 마지막 항목을 오른쪽에 세울 때교훈:
flex: 1빈 span 은 첫 줄에 남아 넘어간 항목을 밀지 못하니, 그 항목에margin-left: auto를 줘요근거: #283 에서 빈 칸을 살려도 390px 프로필의 Make & publish 는 둘째 줄 x 16 에 섰고,
margin-left: auto를 주니 234 에 섰어요바퀴
바퀴 112 · 후보 7 「폰에서 댓글의 Post 단추와 덱 패널의 순서 단추, 내 프로필의 단추가 오른쪽 제자리에 선다」
다음 바퀴
app/community/아래not-found.tsx가 없어 사이트 뿌리의 404 쪽이 떠요./pattern-labLink 가 Lab 덩이 여덟을 미리 받아요.Generated by Claude Code