Update Mobile Navigation bar css for better usage (#6209)
Closes #5744 ## Description - Made Navigation Bar fixed in Mobile screens. - Added `margin-bottom` so, last entries doesn't get hidden. <img width="340" alt="Screenshot 2024-07-10 at 11 58 50 PM" src="https://github.com/twentyhq/twenty/assets/91935072/a888fe06-77bf-4368-ac6d-a5d41d591bd0"> <img width="290" alt="Screenshot 2024-07-10 at 11 59 06 PM" src="https://github.com/twentyhq/twenty/assets/91935072/c1d0c6ed-9178-4132-8b49-7ed39caf3d10"> --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
|
||||
import styled from '@emotion/styled';
|
||||
import { motion } from 'framer-motion';
|
||||
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
|
||||
import { ANIMATION, BACKGROUND_LIGHT, GRAY_SCALE } from 'twenty-ui';
|
||||
|
||||
import { DESKTOP_NAV_DRAWER_WIDTHS } from '@/ui/navigation/navigation-drawer/constants/DesktopNavDrawerWidths';
|
||||
@ -18,7 +18,7 @@ const StyledItemsContainer = styled.div`
|
||||
gap: 32px;
|
||||
margin-bottom: auto;
|
||||
overflow-y: auto;
|
||||
height: calc(100vh - 32px);
|
||||
height: calc(100dvh - 32px);
|
||||
min-width: 216px;
|
||||
max-width: 216px;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user