From 8a88c71213f6a13f478633aee774183339916bc1 Mon Sep 17 00:00:00 2001 From: himaniraghav3 Date: Thu, 21 Aug 2025 17:03:21 +0530 Subject: [PATCH 1/3] Move global css inside container --- .../ScorecardsFilter.module.scss | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss b/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss index 0022872f3..f2e63c6da 100644 --- a/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss +++ b/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss @@ -110,6 +110,19 @@ font-weight: 700; } + :global(.input-el) { + margin-bottom: 0; + padding: 3px 16px 3px 16px; + } + + :global(.input-wrapper) { + height: 38px; + } + + :global(.btn-size-lg) { + padding: 6px 24px; + } + } @media (max-width: 768px) { @@ -161,16 +174,3 @@ } } -:global(.input-el) { - margin-bottom: 0; - padding: 3px 16px 3px 16px; -} - -:global(.input-wrapper) { - height: 38px; -} - -:global(.btn-size-lg) { - padding: 6px 24px; -} - From 2578e259e2ad57f77299303d20a643a38a89f7a4 Mon Sep 17 00:00:00 2001 From: himaniraghav3 Date: Thu, 21 Aug 2025 17:08:34 +0530 Subject: [PATCH 2/3] Add role for correctly displaying Restricted Page --- src/apps/review/src/review-app.routes.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/review/src/review-app.routes.tsx b/src/apps/review/src/review-app.routes.tsx index c3dc6afef..384dbff77 100644 --- a/src/apps/review/src/review-app.routes.tsx +++ b/src/apps/review/src/review-app.routes.tsx @@ -106,6 +106,7 @@ export const reviewRoutes: ReadonlyArray = [ authRequired: true, element: , id: 'list-scorecards-page', + rolesRequired: [UserRole.administrator], route: '', }, { From eeae7607574e9514471999bd9e2b4d75c16f4653 Mon Sep 17 00:00:00 2001 From: himaniraghav3 Date: Thu, 21 Aug 2025 17:13:12 +0530 Subject: [PATCH 3/3] fix indent --- .../components/ScorecardsFilter/ScorecardsFilter.module.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss b/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss index f2e63c6da..5e3d6f0be 100644 --- a/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss +++ b/src/apps/review/src/lib/components/ScorecardsFilter/ScorecardsFilter.module.scss @@ -116,11 +116,11 @@ } :global(.input-wrapper) { - height: 38px; + height: 38px; } :global(.btn-size-lg) { - padding: 6px 24px; + padding: 6px 24px; } }