From 39f2b15c8e6f1ded700104d3e4d4ac4555587269 Mon Sep 17 00:00:00 2001 From: Tushar Vyas <89837102+Vayras@users.noreply.github.com> Date: Mon, 29 Jan 2024 00:02:18 +0530 Subject: [PATCH] fix alignment --- src/pages/tickets/org/orgHeader/index.tsx | 116 ++++++++++++---------- 1 file changed, 61 insertions(+), 55 deletions(-) diff --git a/src/pages/tickets/org/orgHeader/index.tsx b/src/pages/tickets/org/orgHeader/index.tsx index 6ccd4aa2..e8883144 100644 --- a/src/pages/tickets/org/orgHeader/index.tsx +++ b/src/pages/tickets/org/orgHeader/index.tsx @@ -70,7 +70,7 @@ const FiltersRight = styled.span` `; const SkillContainer = styled.span` - padding: 7px 0px; + padding: 10px 0px; align-items: center; display: flex; position: relative; @@ -160,7 +160,7 @@ const SearchBar = styled.input` `; const SoryByContainer = styled.span` - padding: 7px 0px; + padding: 10px 0px; display: flex; justify-content: center; align-items: center; @@ -346,6 +346,8 @@ const EuiPopOverCheckbox = styled.div` } `; +const NewStatusContainer = styled.div``; + const StatusContainer = styled.div` width: 70px; height: 48px; @@ -507,64 +509,68 @@ export const OrgHeader = ({ - - - Status - -
- + + -
- - } - panelStyle={{ - border: 'none', - boxShadow: `0px 1px 20px ${color.black90}`, - background: `${color.pureWhite}`, - borderRadius: '0px 0px 6px 6px', - maxWidth: '140px', - minHeight: '160px', - marginTop: '0px', - marginLeft: '20px' - }} - isOpen={isStatusPopoverOpen} - closePopover={closeStatusPopover} - panelClassName="yourClassNameHere" - panelPaddingSize="none" - anchorPosition="downLeft" - > -
+ Status + +
+ +
+ + } + panelStyle={{ + border: 'none', + boxShadow: `0px 1px 20px ${color.black90}`, + background: `${color.pureWhite}`, + borderRadius: '0px 0px 6px 6px', + maxWidth: '140px', + minHeight: '160px', + marginTop: '0px', + marginLeft: '20px' }} + isOpen={isStatusPopoverOpen} + closePopover={closeStatusPopover} + panelClassName="yourClassNameHere" + panelPaddingSize="none" + anchorPosition="downLeft" > - - ({ - label: `${status}`, - id: status - }))} - idToSelectedMap={checkboxIdToSelectedMap} - onChange={(id: any) => { - onChangeStatus(id); - }} - /> - -
-
+
+ + ({ + label: `${status}`, + id: status + }))} + idToSelectedMap={checkboxIdToSelectedMap} + onChange={(id: any) => { + onChangeStatus(id); + }} + /> + +
+ + Skill