Conversation
카카오맵 정보창(InfoWindow)의 레이아웃 깨짐 문제를 해결하고, 사용자 경험을 향상시키기 위해 전체적인 디자인을 개선했습니다. - **정보창 너비 확장**: 콘텐츠 오버플로우를 방지하고 안정적인 레이아웃을 제공하기 위해 정보창의 최소 너비를 300px로 확장했습니다. - **콘텐츠 중앙 정렬**: Flexbox 유틸리티(`d-flex`, `justify-content-center`)를 사용하여 버튼을 수평 중앙에 배치하고, 장소명과 주소 또한 중앙 정렬하여 시각적 균형을 맞췄습니다. - **버튼 스타일 및 간격 미세 조정**: - 버튼의 padding 값을 조정하여 시인성과 클릭 편의성을 높였습니다. - 버튼 상하(mt, mb) 및 좌우(me) 마진 값을 여러 번 미세 조정하여 최적의 간격을 찾았습니다. - **수정 파일**: - `content_detail.js`: 정보창의 동적 HTML 구조 변경 - `content_detail.html`: 정보창 내부 요소에 대한 CSS 스타일 재정의
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
📜 PR 내용 요약
콘텐츠 상세 페이지의 카카오맵 정보창(InfoWindow)에서 발생한 레이아웃 문제를 해결하고, 전반적인 UI/UX를 개선합니다.
기존의 버튼 오버플로우, 경계선 겹침, 콘텐츠 좌측 쏠림 현상 등을 해결하여 사용자가 지도 정보를 명확하게 인지하고 편하게 상호작용할 수 있도록 수정했습니다.
before ->

after->

⚒️ 작업 및 변경 내용(상세하게)
1. 정보창 컨테이너 너비 확장
min-width)를 300px로 확장했습니다.content_detail.js2. 콘텐츠 중앙 정렬
d-flex justify-content-center클래스를 사용하여 '길찾기', '큰 지도' 버튼을 수평 중앙에 배치했습니다.text-center클래스를 사용하여 장소명과 주소 텍스트를 중앙 정렬했습니다.content_detail.js3. 버튼 스타일 및 간격 최적화
.kakao-infowindow .btn에 대한 CSS 규칙을 추가하여padding과font-size를 늘려 버튼 크기를 키웠습니다.mt,mb,me) 값을 여러 번 수정하여 버튼의 수직 위치와 버튼 사이의 간격을 최적화했습니다.content_detail.html(CSS),content_detail.js(마진 클래스)📚 기타 참고 사항
content_detail.js의 동적 HTML 생성 로직과content_detail.html의 CSS 재정의(override) 로직에 걸쳐 이루어졌습니다.