Fix settings navigation advanced design (#7472)

This PR moved the settings navigation to the left and bottom
https://github.com/twentyhq/twenty/pull/7130

Updating the logic to:
-remove logic that move the existing
-add the setting icon to absolute

<img width="264" alt="Capture d’écran 2024-10-07 à 18 04 05"
src="https://github.com/user-attachments/assets/b848a5dd-50e9-48c2-bb50-1dcffa9481ac">
<img width="264" alt="Capture d’écran 2024-10-07 à 18 04 11"
src="https://github.com/user-attachments/assets/3812929c-dce0-410b-8caa-3ea1210af958">
This commit is contained in:
Thomas Trompette
2024-10-07 18:19:00 +02:00
committed by GitHub
parent 8b716f98f7
commit fbb5b3dfd4
6 changed files with 36 additions and 40 deletions

View File

@ -53,8 +53,8 @@ const StyledItemsContainer = styled.div<{ isSubMenu?: boolean }>`
display: flex;
flex-direction: column;
margin-bottom: auto;
overflow-y: auto;
${({ isSubMenu, theme }) => !isSubMenu && `gap: ${theme.spacing(3)}`}
gap: ${({ theme }) => theme.spacing(3)};
${({ isSubMenu }) => (!isSubMenu ? 'overflow-y: auto' : '')};
`;
export const NavigationDrawer = ({

View File

@ -35,7 +35,6 @@ const StyledContainer = styled.div`
flex-direction: row;
height: ${({ theme }) => theme.spacing(8)};
justify-content: space-between;
margin-left: ${({ theme }) => theme.spacing(5)};
`;
export const NavigationDrawerBackButton = ({

View File

@ -4,7 +4,6 @@ const StyledSection = styled.div`
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.betweenSiblingsGap};
width: 100%;
`;
export { StyledSection as NavigationDrawerSection };