Scroll tab list on record show (#3561)

* scroll tab list on record show #3275

* update the style of tab

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Jeet Desai
2024-01-24 23:00:58 +05:30
committed by GitHub
parent afbb87ae12
commit 21f342c5ea
4 changed files with 7 additions and 5 deletions

View File

@ -20,10 +20,9 @@ const StyledInnerContainer = styled.div`
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.spacing(6)};
padding: ${({ theme }) => theme.spacing(3)};
padding-right: ${({ theme }) => theme.spacing(2)};
width: ${({ theme }) =>
useIsMobile() ? `calc(100% - ${theme.spacing(5)})` : '348px'};
padding: ${({ theme }) => (useIsMobile() ? '12px 0' : theme.spacing(3))};
padding-right: ${({ theme }) => (useIsMobile() ? 0 : theme.spacing(2))};
width: ${() => (useIsMobile() ? `100%` : '348px')};
`;
const StyledIntermediateContainer = styled.div`