[FIX] 툴팁 문구 수정 및 메인페이지 레이아웃 수정 (#344) - #366
Merged
Merged
Conversation
기존 "무료 크레딧 n/5 사용"은 잔액에서 역산한 사용량이라 크레딧을 5개 초과로 보유하면 0으로 clamp되는 문제가 있었다. 표시 기준을 잔액으로 바꾸고 Tooltip props도 balance 하나로 정리. 너비 w-40.25 고정을 w-fit으로 바꿔 문구 길이에 따라 늘어나게 했다.
#347에서 좌우 margin 스크롤 문제를 고치며 스크롤 컨테이너를 w-screen으로 확장하고 콘텐츠 폭을 max-w-sm(384px)으로 잡았는데, RootLayout의 max-w-120(480px) + px-4와 기준이 달라 여백이 (100vw - 384) / 2 로 기기마다 달라졌다. Header(16px)와 본문 섹션의 좌우 정렬도 어긋난 상태였다. w-screen 확장은 그대로 두고(제거하면 #347 회귀), max-w-sm 자리에 RootLayout과 동일한 콘텐츠 박스(max-w-120 + px-4 sm:px-6 lg:px-8)를 재현했다. SectionWrapper에 직접 준 이유는 useAnchorScroll이 container.children 직계 자식에서만 data-anchor를 찾기 때문이다. - 배너/갤러리 캐러셀의 자체 px-5(20px)와 짝이던 scrollPadding 제거 - Footer는 배경 full-bleed를 유지하고 내부 콘텐츠만 같은 박스로 정렬
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude 자동 리뷰 검사 범위: 로직 오류 · 엣지 케이스/런타임 · 컨벤션 준수( 주요 확인 지점:
Generated by Claude Code |
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.
🔀 Pull Request Title
툴팁 문구 수정 및 메인페이지 레이아웃 수정
📌 PR 설명
이번 PR에서 어떤 작업을 했는지 요약해주세요.
px-5(20px)와 짝이던scrollPadding제거, Footer는 배경 full-bleed를 유지하면서 내부 콘텐츠만 동일 박스로 정렬📷 스크린샷