[fix] 동아리방 상세 위치가 긴 경우 지도 버튼이 가려지는 현상 수정#1543
Conversation
LocationInfo에 min-width: 0과 overflow: hidden을 추가하여 모바일에서 긴 위치 텍스트가 지도 링크를 밀어내는 현상 해결
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning
|
| Layer / File(s) | Summary |
|---|---|
위치 정보 플렉스 제약 추가 frontend/src/pages/ClubDetailPage/components/ClubProfileCard/ClubProfileCard.styles.ts |
LocationInfo 스타일 컴포넌트의 플렉스 행 규칙에 min-width: 0과 overflow: hidden을 추가하여 자식 요소의 텍스트 오버플로우 처리를 개선합니다. |
Estimated code review effort
🎯 1 (Trivial) | ⏱️ ~3분
Possibly related PRs
- Moadong/moadong#1402: 동일한 ClubProfileCard.styles.ts의 LocationInfo 스타일링 관련 작업으로, 맵/위치 UI 레이아웃 및 텍스트 절단 처리에서 직접적으로 겹치는 부분이 있습니다.
Suggested reviewers
- seongwon030
- oesnuj
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | PR 제목이 변경사항의 주요 내용을 명확하게 설명하고 있습니다. 모바일에서 긴 위치 텍스트로 인해 지도 버튼이 가려지는 현상을 수정한다는 핵심 목표를 정확히 반영합니다. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
fix/#1532-club-location-overflow-MOA-842
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
🎨 UI 변경사항을 확인해주세요
2개 스토리 변경 · 전체 57개 스토리 · 22개 컴포넌트 |
seongwon030
left a comment
There was a problem hiding this comment.
인스타 링크 길이도 ellipsis 처리되는데 의도된건가요?
인스타 링크 길이 ellipsis 처리는 이전에 상세 작업을 할때 되도록 만든 것이었는데, 이번 PR 비교 이미지 두개의 가로 너비가 달라서 추가된 것처럼 보인 것 같습니다! 기존에 있던 작업이었고, 이번에는 위치 부분의 ellipsis 처리만 추가했습니다! |
#️⃣연관된 이슈
📝작업 내용
LocationInfo에min-width: 0추가 → flex 자식이 콘텐츠 크기 이하로 축소 가능LocationInfo에overflow: hidden추가 → 기존text-overflow: ellipsis와 결합되어 긴 텍스트는...으로 표시LocationDot(·)과MapLink(지도)는flex-shrink: 0이므로 항상 표시됨중점적으로 리뷰받고 싶은 부분(선택)
논의하고 싶은 부분(선택)
🫡 참고사항
Summary by CodeRabbit
릴리스 노트