Skip to content

Commit

Permalink
fix: 한줄평 없을 때 스타일 수정 #112
Browse files Browse the repository at this point in the history
  • Loading branch information
1119wj committed Dec 5, 2024
1 parent 6d5b7ab commit c5c994d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/components/Place/PlaceDetailPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type PlaceDetailPanelProps = {

const PlaceDetailPanel = ({ place, onClosed }: PlaceDetailPanelProps) => {
return (
<BaseWrapper position="" left="" top="" className="w-1/2">
<BaseWrapper position="" left="" top="" className="h-auto w-1/2">
<Box>
<button onClick={onClosed}>
<PrevIcon />
Expand All @@ -23,8 +23,10 @@ const PlaceDetailPanel = ({ place, onClosed }: PlaceDetailPanelProps) => {
<PlaceItem place={place} isDetailPage={false} />
</Box>
<Box>
<p>한줄평</p>
<p>{place.comment}</p>
<p className="font-semibold">한줄평</p>
<div className="flex items-center justify-center text-c_placeholder_gray">
<p>{place.comment ?? '한줄평이 없습니다.'}</p>
</div>
</Box>
</BaseWrapper>
);
Expand Down

0 comments on commit c5c994d

Please sign in to comment.