Repository navigation
[FIX] 모바일 오늘 페이지 투두 카드 레이아웃 및 스크롤 문제 수정 - #333
Merged
Merged
Conversation
모바일 대응 때 넣은 overflow-hidden 때문에 카드가 목록 안에서 줄어들어 스크롤되지 않던 문제를 수정했습니다.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Timo Performance ReportBundle Size — timo-web
Lighthouse — timo-web
Image Optimization — timo-web
측정 커밋: |
This branch was successfully deployed
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.
ISSUE 🔗
close #332
What is this PR? 🔍
오늘 페이지에서 투두 카드가 많을 때 목록이 스크롤되지 않고 카드 레이아웃이 깨지는 문제를 수정했습니다.
배경
flex-col overflow-y-auto) 안에 카드를 나열하는 구조입니다.overflow-hidden을 넣으면서 카드의 최소 높이가 0이 되었습니다. 그래서 카드가 많아지면 목록이 넘치지 않고 모든 카드가 줄어들어, 스크롤이 생기지 않고 카드 내용이 잘렸습니다.shrink-0을 추가해 원래 높이를 유지하도록 했습니다.오늘 투두 카드 · 캘린더 일정 카드
TodayTodoCard와TodayCalendarEventCard루트에shrink-0을 추가했습니다.overflow가visible이 아니면 내용 높이 아래로도 줄어들 수 있습니다. 두 카드는 같은 목록 안에 있어서 둘 다 줄어들었습니다.shrink-0으로 카드가 줄어들지 않게 막아, 넘치는 만큼 목록 영역의overflow-y-auto스크롤이 생기도록 했습니다. 가로 넘침을 막는overflow-hidden은 그대로 유지했습니다.To Reviewers
홈 카드(
HomeTodoCard)에 이미 있는shrink-0과 같은 방식으로 맞췄습니다. 클래스 두 줄만 바뀌었습니다.Screenshot 📷
Test Checklist ✔