From f7d1c8d2c4f094da9b1360e367944937cd4349f9 Mon Sep 17 00:00:00 2001 From: Wu Peirong Date: Thu, 3 Nov 2022 12:43:04 +0800 Subject: [PATCH] [resumes][chore] remove overflow on page components --- .../components/resumes/comments/ResumeCommentsList.tsx | 2 +- apps/portal/src/pages/resumes/[resumeId].tsx | 4 ++-- apps/portal/src/pages/resumes/index.tsx | 8 ++++---- apps/portal/src/pages/resumes/submit.tsx | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx b/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx index 271fdd44..b4af9089 100644 --- a/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx +++ b/apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx @@ -57,7 +57,7 @@ export default function ResumeCommentsList({ } return ( -
+
{RESUME_COMMENTS_SECTIONS.map(({ label, value }) => { const comments = commentsQuery.data ? commentsQuery.data.filter((comment: ResumeComment) => { diff --git a/apps/portal/src/pages/resumes/[resumeId].tsx b/apps/portal/src/pages/resumes/[resumeId].tsx index 4e6c9bea..2fea9d4f 100644 --- a/apps/portal/src/pages/resumes/[resumeId].tsx +++ b/apps/portal/src/pages/resumes/[resumeId].tsx @@ -236,8 +236,8 @@ export default function ResumeReviewPage() { {detailsQuery.data.title} -
-
+
+

{detailsQuery.data.title}

diff --git a/apps/portal/src/pages/resumes/index.tsx b/apps/portal/src/pages/resumes/index.tsx index 549a7849..7b601e40 100644 --- a/apps/portal/src/pages/resumes/index.tsx +++ b/apps/portal/src/pages/resumes/index.tsx @@ -395,7 +395,7 @@ export default function ResumeHomePage() { leave="transition ease-in-out duration-300 transform" leaveFrom="translate-x-0" leaveTo="translate-x-full"> - +

Quick access @@ -614,7 +614,7 @@ export default function ResumeHomePage() {

-
+
) : ( -
+
-
+
{getTabTotalPages() > 1 && (
)} {status === 'authenticated' && ( -
+