From 934e9fa7cdd48b0cee7d36227983fb30cbb95d3d Mon Sep 17 00:00:00 2001 From: hayoonSong <39684920+hayounSong@users.noreply.github.com> Date: Sun, 29 Dec 2024 12:19:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BB=A4=ED=94=BC=EC=B1=97=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20QA=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9=20(#1715)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 상세페이지 제목 깨짐 현상 수정 * fix: 커피챗 섹션 분리 및 타이틀 표기 여부 조건 추가 * fix: 빌드 에러 수정 * fix: 커피챗 섹션 분리 취소 --- src/components/coffeechat/detail/index.tsx | 28 ++++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/coffeechat/detail/index.tsx b/src/components/coffeechat/detail/index.tsx index 9a61b5ca6..4b4d7d1db 100644 --- a/src/components/coffeechat/detail/index.tsx +++ b/src/components/coffeechat/detail/index.tsx @@ -113,18 +113,6 @@ const ProfilPojectSection = styled.div` } `; -const SoptActivityTitle = styled.h2` - margin: 60px 0 32px; - color: ${colors.white}; - ${fonts.HEADING_28_B}; - - @media ${MOBILE_MEDIA_QUERY} { - margin: 40px 0 20px; - - ${fonts.HEADING_20_B}; - } -`; - const DetailPageLayout = styled.div` display: flex; justify-content: center; @@ -156,7 +144,9 @@ const CoffeechatTitle = styled.h1` @media ${MOBILE_MEDIA_QUERY} { ${fonts.HEADING_28_B}; - height: 84px; + -webkit-line-clamp: 10; + height: auto; + min-height: 84px; } `; @@ -167,3 +157,15 @@ const CoffeechatHeader = styled.header` justify-content: space-between; margin-bottom: 24px; `; + +const SoptActivityTitle = styled.h2` + margin: 60px 0 32px; + color: ${colors.white}; + ${fonts.HEADING_28_B}; + + @media ${MOBILE_MEDIA_QUERY} { + margin: 40px 0 20px; + + ${fonts.HEADING_20_B}; + } +`;