From 7a5a79affd219c541bb9ae0d27d7fffed37c2963 Mon Sep 17 00:00:00 2001 From: Asmaa EL MOKHTARI <100131224+AsmaaELM@users.noreply.github.com> Date: Thu, 31 Mar 2022 11:35:13 +0200 Subject: [PATCH] css polishing --- src/react/ui-elements/TableKeyValue2.tsx | 8 +++++--- src/react/workflow/ConfigurationTab.tsx | 9 ++++++++- src/react/workflow/CreateWorkflow.tsx | 3 ++- src/react/workflow/ExpirationForm.tsx | 6 ++++-- src/react/workflow/WorkflowList.tsx | 6 ++++-- 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/react/ui-elements/TableKeyValue2.tsx b/src/react/ui-elements/TableKeyValue2.tsx index f1a314d2f..d6e6349e1 100644 --- a/src/react/ui-elements/TableKeyValue2.tsx +++ b/src/react/ui-elements/TableKeyValue2.tsx @@ -57,6 +57,10 @@ export const Groups = styled.div` max-width: 450px; `; +export const ScrollArea = styled.div` + overflow: auto; + max-height: calc(100vh - 19rem); +`; export const Group = styled.div` margin-bottom: ${spacing.sp24}; `; @@ -149,14 +153,12 @@ export const Header = styled.div` `; export const BannerContainer = styled.div` margin-right: ${spacing.sp8}; - width: 50%; + width: 60%; visibility: ${(props) => (props.isHidden ? 'hidden' : 'visible')}; `; export const Footer = styled.div` display: flex; justify-content: flex-end; - - margin-top: ${spacing.sp8}; margin-bottom: ${spacing.sp8}; `; export const ExtraCell = styled.div` diff --git a/src/react/workflow/ConfigurationTab.tsx b/src/react/workflow/ConfigurationTab.tsx index 41729a69d..f7608cd7e 100644 --- a/src/react/workflow/ConfigurationTab.tsx +++ b/src/react/workflow/ConfigurationTab.tsx @@ -407,7 +407,10 @@ function EditForm({ Rule Type {isExpirationWorkflow(workflow) ? ( - Expiration + + + Expiration + ) : ( @@ -427,6 +430,7 @@ function EditForm({ id="cancel-workflow-btn" style={{ marginRight: spacing.sp24, + marginBottom: spacing.sp20, }} variant="outline" disabled={!formState.isDirty} @@ -435,6 +439,9 @@ function EditForm({ />