Navigation drawer sibling gap fix (#9472)

fixes
https://discord.com/channels/1130383047699738754/1326560179113955328/1326560179113955328
This commit is contained in:
nitin
2025-01-09 15:19:43 +05:30
committed by GitHub
parent a2f2f4148a
commit ae68a4b8d9
2 changed files with 10 additions and 22 deletions

View File

@ -2,9 +2,6 @@ import styled from '@emotion/styled';
import { useIsMobile } from 'twenty-ui';
const StyledSection = styled.div`
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.betweenSiblingsGap};
width: 100%;
margin-bottom: ${({ theme }) => theme.spacing(3)};
flex-shrink: 1;
@ -13,6 +10,9 @@ const StyledSection = styled.div`
const StyledSectionInnerContainerMinusScrollPadding = styled.div<{
isMobile: boolean;
}>`
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.betweenSiblingsGap};
width: calc(
100% - ${({ isMobile, theme }) => (isMobile ? 0 : theme.spacing(2))}
);