From 48d53c39bc3c445a419198d6ee30f9cd97b76bc3 Mon Sep 17 00:00:00 2001 From: Jiyeon Baek <58380158+100Gyeon@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:16:26 +0900 Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=9C=EB=8D=95=EC=85=98=20?= =?UTF-8?q?=EB=B0=B0=ED=8F=AC=20(#558)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: /group이 포함되지 않도록 수정 (#554) * fix: 링크가 영역 벗어나는 이슈 해결 (#557) * fix: 링크가 영역 벗어나는 이슈 해결 * feat: 공지사항 역순으로 정렬 --- .../Information/InformationPanel.tsx | 1 + .../Slider/NoticeSlider/NoticeSlider.tsx | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/page/meetingDetail/Information/InformationPanel.tsx b/src/components/page/meetingDetail/Information/InformationPanel.tsx index 4ef18ca6..f371fc84 100644 --- a/src/components/page/meetingDetail/Information/InformationPanel.tsx +++ b/src/components/page/meetingDetail/Information/InformationPanel.tsx @@ -134,6 +134,7 @@ const SDescription = styled('p', { a: { textDecoration: 'underline', + wordBreak: 'break-all', }, '@tablet': { diff --git a/src/components/page/meetingList/Slider/NoticeSlider/NoticeSlider.tsx b/src/components/page/meetingList/Slider/NoticeSlider/NoticeSlider.tsx index 4c97f73a..b908f6b8 100644 --- a/src/components/page/meetingList/Slider/NoticeSlider/NoticeSlider.tsx +++ b/src/components/page/meetingList/Slider/NoticeSlider/NoticeSlider.tsx @@ -38,15 +38,17 @@ export default function NoticeSlider({ notices }: NoticeSliderProps) { afterChange={updateCurrentIndex} > {notices ? ( - notices.map(notice => ( - - )) + notices + .map(notice => ( + + )) + .reverse() ) : ( // to minimize CLS, put a placeholder