diff --git a/src/components/organisms/Header/HeaderDesktop.tsx b/src/components/organisms/Header/HeaderDesktop.tsx index 25e9917e..59b40b56 100644 --- a/src/components/organisms/Header/HeaderDesktop.tsx +++ b/src/components/organisms/Header/HeaderDesktop.tsx @@ -36,6 +36,9 @@ const useStyles = makeStyles((theme: Theme) => ({ // this height needs to be equal to the marginTop of PageTemplate height: theme.spacing(globalConstants.headerHeight), }, + itemsEnd: { + alignItems: 'center', + }, })) const HeaderDesktop: FC = ({ @@ -57,8 +60,7 @@ const HeaderDesktop: FC = ({ @@ -82,8 +84,7 @@ const HeaderDesktop: FC = ({ = ({ { !!itemsEnd?.length && itemsEnd.map(({ icon, ...rest }: ActionHeaderItemProps) => ( - + {icon} )) } - - -
- -
+
diff --git a/src/components/organisms/Header/HeaderMobile.tsx b/src/components/organisms/Header/HeaderMobile.tsx index ea365dd8..87303f20 100644 --- a/src/components/organisms/Header/HeaderMobile.tsx +++ b/src/components/organisms/Header/HeaderMobile.tsx @@ -60,6 +60,9 @@ const useStyles = makeStyles((theme: Theme) => createStyles({ mobileNavLinkActive: { color: `${colors.primary} !important`, }, + itemsEnd: { + alignItems: 'center', + }, })) const HeaderMobile: FC = ({ @@ -111,26 +114,25 @@ const HeaderMobile: FC = ({ { !!itemsEnd?.length - && itemsEnd.map(({ icon, ...rest }: ActionHeaderItemProps) => ( - - {icon} - - )) + && itemsEnd + .map(({ icon, ...rest }: ActionHeaderItemProps) => ( + + {icon} + + )) } - - -
- -
+
)}