From 1ef065947be057dd2389fb74f1e76eb45801ea41 Mon Sep 17 00:00:00 2001 From: pooja-jaiswal_navi Date: Fri, 12 Jan 2024 14:06:10 +0530 Subject: [PATCH] TP-53587 | Footer button alignment fixed for create incident --- .../partials/CreateIncident.module.scss | 28 ++- .../Dashboard/partials/CreateIncidentForm.tsx | 183 ++++++++---------- 2 files changed, 95 insertions(+), 116 deletions(-) diff --git a/src/Pages/Dashboard/partials/CreateIncident.module.scss b/src/Pages/Dashboard/partials/CreateIncident.module.scss index 146ad62..57552f7 100644 --- a/src/Pages/Dashboard/partials/CreateIncident.module.scss +++ b/src/Pages/Dashboard/partials/CreateIncident.module.scss @@ -33,13 +33,9 @@ .drawer { width: 550px !important; -} -.header { - padding: 16px !important; - - > span { - @include flex-center; + > div { + padding: 10px 0px 10px 0px !important; } } @@ -69,23 +65,23 @@ display: flex; margin-bottom: 24px; gap: 24px; + border-top: 1px solid var(--navi-drawer-divider-color); + padding-top: 20px; + width: 100%; } .create { - width: 231px; + width: 242px; height: 36px; } .cancel { - width: 231px; + width: 242px; height: 36px; margin-left: 20px; } .footer-wrapper { position: relative; -} -.hr { width: 100%; - background-color: var(--navi-color-gray-border); - margin-top: calc(100% - (36px + 36px)); + box-sizing: border-box; } .incident-wrapper, .Description-wrapper, @@ -93,9 +89,11 @@ .Team-wrapper { @include wrapper-styles; } - +.form-wrapper { + margin: 10px 10px 0px 10px; +} .severity-wrapper { - width: calc(100% - 156px); + width: calc(100% - 163px); display: flex; justify-content: flex-start; align-items: center; @@ -137,7 +135,7 @@ .select-picker-item { min-width: 352px; margin-top: 2px; - margin-left: 14px; + margin-left: 24px; } .arrow-down { diff --git a/src/Pages/Dashboard/partials/CreateIncidentForm.tsx b/src/Pages/Dashboard/partials/CreateIncidentForm.tsx index 7f97b14..3f077e8 100644 --- a/src/Pages/Dashboard/partials/CreateIncidentForm.tsx +++ b/src/Pages/Dashboard/partials/CreateIncidentForm.tsx @@ -176,116 +176,97 @@ const CreateIncidentForm: React.FC = ({ return (
-
-
Incident title
-