diff --git a/src/components/notification/NoticeCommunityLayout.tsx b/src/components/notification/NoticeCommunityLayout.tsx index 39bf5b9..cc619cf 100644 --- a/src/components/notification/NoticeCommunityLayout.tsx +++ b/src/components/notification/NoticeCommunityLayout.tsx @@ -8,16 +8,16 @@ export const NotificationCommunityLayout = ({ notice }: { notice: NotificationTy
+ className="flex flex-row justify-start items-center mt-[9px] mb-[20px] relative">
-
+
{notice?.content}
{CalculateTime(notice?.date)}
diff --git a/src/components/notification/NotificationLayout.tsx b/src/components/notification/NotificationLayout.tsx index 6462982..7d4546d 100644 --- a/src/components/notification/NotificationLayout.tsx +++ b/src/components/notification/NotificationLayout.tsx @@ -20,13 +20,13 @@ export const NotificationLayout = ({ notice }: { notice: NotificationType }) =>
-
{notice?.title}
-
+
{notice?.title}
+
{notice?.content}
{CalculateTime(notice?.date)} diff --git a/src/pages/notification/index.tsx b/src/pages/notification/index.tsx index aba1599..08322a0 100644 --- a/src/pages/notification/index.tsx +++ b/src/pages/notification/index.tsx @@ -115,7 +115,7 @@ const Notification = () => { <> {todayNotifications.length > 0 && ( -

오늘

+

오늘

{todayNotifications.map((notice: NotificationType) => ( @@ -125,7 +125,7 @@ const Notification = () => { )} {pastNotifications.length > 0 && ( -

최근 7일

+

최근 7일

{pastNotifications.map((notice: NotificationType) => (