From 21b7afdcc07fd678bf115877d0fa403a476fda04 Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Mon, 11 Dec 2023 11:51:04 -0500 Subject: [PATCH] :bug: Fix alignment on actions screen (#1605) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Address issues with css alignment on assessment actions page Before: Screenshot 2023-12-11 at 10 47 34 AM After: Screenshot 2023-12-11 at 10 49 42 AM Signed-off-by: ibolton336 --- .../components/dynamic-assessment-actions-row.css | 4 ++++ .../components/dynamic-assessment-actions-row.tsx | 4 ++-- .../assessment-actions/components/questionnaires-table.css | 6 ++++++ .../assessment-actions/components/questionnaires-table.tsx | 4 +++- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 client/src/app/pages/assessment/components/assessment-actions/components/questionnaires-table.css diff --git a/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.css b/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.css index 4689a73371..8745943e9e 100644 --- a/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.css +++ b/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.css @@ -7,3 +7,7 @@ background-color: var(--pf-v5-global--warning-color--100) !important ; margin-right: 10px; } + +.actions-col { + vertical-align: middle !important; +} diff --git a/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx b/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx index f6f85cce6e..ac6f1f474f 100644 --- a/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx +++ b/client/src/app/pages/assessment/components/assessment-actions/components/dynamic-assessment-actions-row.tsx @@ -208,7 +208,7 @@ const DynamicAssessmentActionsRow: FunctionComponent< return ( <> - +
{isReadonly ? null : !isDeleting && !isFetching && !isMutating ? (