From 3fc39458a5b93afcafb90b19317e071c4f0f90f7 Mon Sep 17 00:00:00 2001 From: KimDoHyun Date: Sat, 7 Jun 2025 16:20:11 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=83=81=EB=8B=A8=20=EC=A3=BC?= =?UTF-8?q?=EC=86=8C=20=EC=A3=BC=EC=A7=80=EB=B2=88-=EB=B6=80=EC=A7=80?= =?UTF-8?q?=EB=B2=88=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MapPage/components/InfoTable.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/MapPage/components/InfoTable.tsx b/src/pages/MapPage/components/InfoTable.tsx index fa8527d..281ba90 100644 --- a/src/pages/MapPage/components/InfoTable.tsx +++ b/src/pages/MapPage/components/InfoTable.tsx @@ -76,7 +76,14 @@ const InfoTable = ({ selectItem }: InfotableProps) => { {selectItem?.location?.city || ''}{' '} {selectItem?.location?.district || ''}{' '} {selectItem?.location?.address || ''}{' '} - {selectItem?.location?.mountainAddress === 'Y' ? '산' : ''} + {selectItem?.location?.mountainAddress === 'Y' ? '산' : ''}{' '} + {selectItem?.location?.mainLotNumber || ''} + {selectItem?.location?.subLotNumber + ? `-${selectItem.location.subLotNumber}` + : ''}{' '} + {selectItem?.location?.roadAddress + ? `(${selectItem?.location?.roadAddress})` + : ''}{' '} From 763b5b959ea675e576d12ba725eb9ed8c9254694 Mon Sep 17 00:00:00 2001 From: KimDoHyun Date: Sat, 7 Jun 2025 16:23:13 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BB=A8=ED=85=8C=EC=9D=B4=EB=84=88=20=EC=A3=BC=EC=86=8C=20?= =?UTF-8?q?=EC=A3=BC=EC=A7=80=EB=B2=88-=EB=B6=80=EC=A7=80=EB=B2=88=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=20=EB=B0=8F=20text-overflow=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MapPage/components/ListContainer.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/pages/MapPage/components/ListContainer.tsx b/src/pages/MapPage/components/ListContainer.tsx index 0555adb..bd1b7ed 100644 --- a/src/pages/MapPage/components/ListContainer.tsx +++ b/src/pages/MapPage/components/ListContainer.tsx @@ -25,8 +25,16 @@ const ListContainer = ({ item, onClick }: ListProps) => { - {item.location.province} {item.location.city} - {item.location.district} + {item?.location?.province || ''} {item?.location?.city || ''}{' '} + {item?.location?.district || ''} {item?.location?.address || ''}{' '} + {item?.location?.mountainAddress === 'Y' ? '산' : ''}{' '} + {item?.location?.mainLotNumber || ''} + {item?.location?.subLotNumber + ? `-${item.location.subLotNumber}` + : ''}{' '} + {item?.location?.roadAddress + ? `(${item?.location?.roadAddress})` + : ''}{' '} {item.location.address} @@ -111,6 +119,10 @@ const AddressText = styled.div` font-size: ${({ theme }) => theme.fonts.sizes.ms}; color: ${({ theme }) => theme.colors.grey[700]}; font-weight: ${({ theme }) => theme.fonts.weights.medium}; + + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; `; const AddressWrapper = styled.div` width: 100%;