[#122] refactor(home): 미니홈 메인 전체화면 레이아웃 리팩토링#151
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the mini-home main page layout to support better fullscreen behavior. The key improvements include making the profile image responsive at larger breakpoints, implementing proper scrolling for constrained heights, and expanding the recent posts section to show more content on wider screens.
- Implemented responsive layout with container queries for adaptive content display
- Enhanced scrolling behavior to prevent content from being obscured at reduced heights
- Increased recent posts limit from 3 to 6 with conditional visibility based on screen size
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/features/minihome/home/HomePage.tsx | Added container queries, responsive sizing for avatar and bio, implemented scrollable right panel, and conditional post rendering (3/6 items based on @2XL breakpoint) |
| src/features/minihome/MiniHome.tsx | Added flex layout classes to home tab content to support proper height management and scrolling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
📖 개요
탭을 전체 화면으로 확장했을 때 왼쪽 영역의 프로필 이미지가 커지고 바이오가 작아져서 중앙에 오도록 하였습니다.
높이가 낮아졌을 때 오른쪽 콘텐츠 영역이 가려지지 않도록 레이아웃과 스크롤을 손봤습니다.
최근 게시물은 항상 6개까지 받아 두고, 컨테이너 브레이크포인트(@2XL) 기준으로 3/6개가 토글되도록 Tailwind 유틸을 적용했습니다.
✅ 관련 이슈
🛠️ 상세 작업 내용
📸 스크린샷
MiniHome.tsx에서 MINIHOME_TABS.home에 대해서 className="min-h-0 flex-1" 적용하였습니다.
👥 리뷰 확인 사항