Skip to content

fix: 주변 맛집 카드에서 식당 이름이 사진 폭을 넘어가던 문제 수정 - #207

Merged
JioCoder merged 1 commit into
mainfrom
fix/mountain-detail
Sep 1, 2026
Merged

fix: 주변 맛집 카드에서 식당 이름이 사진 폭을 넘어가던 문제 수정#207
JioCoder merged 1 commit into
mainfrom
fix/mountain-detail

Conversation

@peisonger

@peisonger peisonger commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 산 상세 화면의 "주변 맛집" 탭에서 식당 이름이 길면 사진 폭을 넘어 옆 카드까지 침범하던 문제 수정
  • 이름/카테고리 텍스트에 너비 제한과 줄임 처리가 없어서 발생

Changes

  • features/mountains-detail/components/restaurant-tab.tsx: 텍스트 영역을 사진과 동일한 188px로 고정하고, 이름/카테고리 모두 numberOfLines={1}로 한 줄 초과 시 말줄임표 처리

Test plan

  • iOS 시뮬레이터에서 도봉산 상세 → 주변 맛집 탭 확인 — 긴 식당 이름("리본레시피 저탄고지 식단 방학본점")이 "리본레시피 저탄고지 식단..."으로 말줄임표 처리되고 카드 폭이 사진과 일치하는 것 확인
  • 다양한 길이의 이름/카테고리에서 레이아웃 깨짐 없는지 추가 확인

이름 텍스트에 너비 제한과 줄임 처리가 없어 식당 이름이 길면 사진
폭을 넘어 옆 카드까지 침범했음. 텍스트 영역을 사진과 같은 188px로
고정하고 numberOfLines={1}로 말줄임표 처리.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 4629c53d-4579-405b-bf08-8ba66682a2cc


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.

❤️ Share

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

@JioCoder
JioCoder merged commit e7d082c into main Sep 1, 2026
3 checks passed
@JioCoder
JioCoder deleted the fix/mountain-detail branch September 1, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants