Skip to content

[FIX] 모바일 오늘 페이지 투두 카드 레이아웃 및 스크롤 문제 수정 - #333

Merged
ehye1 merged 1 commit into
developfrom
fix/web/332-today-mobile-card-layout
Oct 14, 2026
Merged

ehye1 merged 1 commit into
developfrom
fix/web/332-today-mobile-card-layout

Conversation

@ehye1

@ehye1 ehye1 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

ISSUE 🔗

close #332


What is this PR? 🔍

오늘 페이지에서 투두 카드가 많을 때 목록이 스크롤되지 않고 카드 레이아웃이 깨지는 문제를 수정했습니다.

배경

  • 기존 구조: 오늘 페이지 목록은 세로 flex 영역(flex-col overflow-y-auto) 안에 카드를 나열하는 구조입니다.
  • 발생 문제: 모바일 대응([FEAT] 오늘 페이지 모바일 반응형 대응 #318) 때 카드에 overflow-hidden을 넣으면서 카드의 최소 높이가 0이 되었습니다. 그래서 카드가 많아지면 목록이 넘치지 않고 모든 카드가 줄어들어, 스크롤이 생기지 않고 카드 내용이 잘렸습니다.
  • 해결 방향: 홈 카드와 같이 카드에 shrink-0을 추가해 원래 높이를 유지하도록 했습니다.

오늘 투두 카드 · 캘린더 일정 카드

  • 변경 요약: TodayTodoCard와 TodayCalendarEventCard 루트에 shrink-0을 추가했습니다.
  • 이유: flex 아이템은 기본적으로 공간이 부족하면 줄어들고, overflow가 visible이 아니면 내용 높이 아래로도 줄어들 수 있습니다. 두 카드는 같은 목록 안에 있어서 둘 다 줄어들었습니다.
  • 구현 방식: shrink-0으로 카드가 줄어들지 않게 막아, 넘치는 만큼 목록 영역의 overflow-y-auto 스크롤이 생기도록 했습니다. 가로 넘침을 막는 overflow-hidden은 그대로 유지했습니다.



To Reviewers

홈 카드(HomeTodoCard)에 이미 있는 shrink-0과 같은 방식으로 맞췄습니다. 클래스 두 줄만 바뀌었습니다.

Screenshot 📷

EDFEB20F-400C-4996-B948-423A4FD950BD_1_102_o



Test Checklist ✔

  • 모바일에서 카드를 많이 만들었을 때 목록 스크롤 확인

모바일 대응 때 넣은 overflow-hidden 때문에 카드가 목록 안에서 줄어들어 스크롤되지 않던 문제를 수정했습니다.
@ehye1 ehye1 self-assigned this Oct 13, 2026
@vercel

vercel Bot commented Oct 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
timo-client-timo-web Ready Ready Preview Oct 13, 2026 9:38am UTC

@github-actions github-actions Bot added ⏰ Timo-web Timo 웹 서비스 🐛 Bug 기능이 정상적으로 작동하지 않는 문제 수정 ♥️ 혜원 혜원양 labels Oct 13, 2026
@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: Team-Timo/Timo-client/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 3a1395cc-5c10-4202-b004-172de517cfbc
📥 Commits

Reviewing files that changed from the base of the PR and between 26a4984 and 787a5ae.

📒 Files selected for processing (2)
  • apps/timo-web/app/[locale]/(main)/(with-time-sidebar)/today/_components/TodayTodoCard.tsx
  • apps/timo-web/components/calendar/TodayCalendarEventCard.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

오늘 페이지의 투두 카드와 캘린더 일정 카드 컨테이너에 shrink-0을 추가했습니다. 이에 따라 flex 레이아웃에서 두 카드가 축소되지 않습니다.

Changes

오늘 페이지 카드

Layer / File(s) Summary
카드의 flex 축소 방지
apps/timo-web/app/[locale]/(main)/(with-time-sidebar)/today/_components/TodayTodoCard.tsx, apps/timo-web/components/calendar/TodayCalendarEventCard.tsx
두 카드 컨테이너에 shrink-0을 추가했습니다. 카드가 축소되지 않도록 합니다.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix · Severity of issue fixed: Medium

Suggested reviewers: kimminna

Merge Risk: ⚪ Minimal · up to 787a5

카드 축소를 막는 변경에서 확인된 병합 차단 문제는 없습니다. 모바일에서 카드가 많은 경우의 스크롤은 일반적인 확인 항목으로 남아 있습니다.

Pre-merge checks · Passed 7
Passed Passed checks (7 passed)
Check name Status Explanation
Linked Issues check Passed close #332가 변경 목적과 일치합니다. 이슈의 문제와 해결 방향을 모두 반영합니다.
Out of Scope Changes check Passed 변경 범위는 대상 카드 컴포넌트 두 개의 shrink-0 추가로 제한됩니다. PR 목표와 일치합니다.
Linked Issues check Passed 직접 연결된 이슈 [#332]의 요구사항은 카드의 원래 높이를 유지하고 목록이 넘칠 때 세로 스크롤을 제공하는 것입니다. PR은 TodayTodoCard와 TodayCalendarEventCard의 루트 요소에 shrink-0을 추가했습니다. 두 카드의 기존 overflow-hidden은 유지했습니다. 이 변경은 세로 flex 목록에서 카드 …
Out of Scope Changes check Passed 변경은 오늘 페이지의 TodayTodoCard와 TodayCalendarEventCard에 shrink-0을 추가한 두 파일에 한정됩니다. 두 변경 모두 [#332]의 카드 축소 및 목록 스크롤 문제와 직접 연결됩니다. 관련 없는 기능 변경이나 범위 밖의 파일 변경은 확인되지 않습니다.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Title check Passed 제목은 오늘 페이지의 투두 카드 레이아웃과 스크롤 문제를 수정하는 핵심 변경을 정확히 설명합니다.
Description check Passed 설명은 카드 축소와 스크롤 미생성의 원인, shrink-0 적용 방법, 대상 컴포넌트와 테스트 범위를 구체적으로 설명합니다.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@ehye1 ehye1 changed the title [FIX] 오늘 페이지 모바일에서 투두 카드가 찌그러지고 스크롤되지 않는 문제 수정 [FIX] 모바일 오늘 페이지 투두 카드 레이아웃 및 스크롤 문제 수정 Oct 13, 2026
@github-actions

Copy link
Copy Markdown

Timo Performance Report

Bundle Size — timo-web
라우트 크기 First Load JS
/[locale]/home 278.73 kB 🔴 484.55 kB
/[locale]/today 262.96 kB 🔴 468.78 kB
/[locale]/focus 224.27 kB 🔴 430.08 kB
/[locale]/settings 230.78 kB 🔴 436.59 kB
/[locale]/statistics 212.69 kB 🔴 418.50 kB
/[locale]/[...rest] 0 B 🟡 205.81 kB
/[locale]/login 282.88 kB 🔴 488.70 kB
/[locale]/oauth/calendar/callback 121.38 kB 🟡 327.19 kB
/[locale]/oauth/callback 121.04 kB 🟡 326.85 kB
/[locale]/onboarding 295.68 kB 🔴 501.49 kB
/[locale] 120.35 kB 🟡 326.17 kB
/[locale]/policy 121.32 kB 🟡 327.14 kB
/robots.txt/route 0 B 🟡 205.81 kB
/sitemap.xml/route 0 B 🟡 205.81 kB

공유 번들: 205.81 kB
🟢 < 200kB  |  🟡 < 350kB  |  🔴 ≥ 350kB (First Load JS · gzip)

Lighthouse — timo-web
URL Perf A11y LCP CLS TBT
/en/home 🔴 61 🟢 96 🔴 16.2s 🟢 0.000 🟡 521ms
/en/today 🔴 66 🟢 96 🔴 16.2s 🟢 0.000 🟡 356ms
/en/focus 🔴 64 🟢 96 🔴 16.0s 🟢 0.000 🟡 414ms
/en/statistics 🔴 65 🟢 96 🔴 16.0s 🟢 0.000 🟡 384ms

Perf ≥ 70 / A11y ≥ 85 목표
LCP 🟢 < 2.5s 🟡 < 4s 🔴 ≥ 4s  |  CLS 🟢 < 0.1 🟡 < 0.25 🔴 ≥ 0.25  |  TBT 🟢 < 200ms 🟡 < 600ms 🔴 ≥ 600ms

Image Optimization — timo-web
파일 크기 포맷 상태
favicon.png 27.84 kB PNG ⚠️ 🟢
images/google-calendar.png 36.20 kB PNG ⚠️ 🟢
images/google-logo.png 26.79 kB PNG ⚠️ 🟢
og.png 437.44 kB PNG ⚠️ 🟡

총 4개 · 528.28 kB  |  🟢 < 200KB  |  🟡 < 500KB  |  🔴 ≥ 500KB
⚠️ 4개 파일 WebP/AVIF 변환 권장

측정 커밋: 6fb83ff

@jjangminii jjangminii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니당~~

@ehye1
ehye1 merged commit 9ec263e into develop Oct 14, 2026
28 checks passed
@ehye1
ehye1 deleted the fix/web/332-today-mobile-card-layout branch October 14, 2026 06:39

This branch was successfully deployed

1 active deployment
Preview — 787a5ae9 Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⏰ Timo-web Timo 웹 서비스 ♥️ 혜원 혜원양 🐛 Bug 기능이 정상적으로 작동하지 않는 문제 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] 오늘 페이지 모바일에서 투두 카드가 찌그러지고 스크롤되지 않는 문제

2 participants