3969 Adjusted Sidebar (#3971)

* Label fix

* changes done

* Revert "Label fix"

This reverts commit 1233b5809993da454bc84286746ef4ef18934e2e.

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Kanav Arora
2024-02-20 03:31:17 +05:30
committed by GitHub
parent 116254243d
commit 6fb0099eb3
4 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,8 @@ import {
IconAt,
IconCalendarEvent,
IconColorSwatch,
IconDoorEnter,
IconHierarchy2,
IconLogout,
IconMail,
IconRobot,
IconSettings,
@ -156,7 +156,7 @@ export const SettingsNavigationDrawerItems = () => {
<NavigationDrawerItem
label="Logout"
onClick={handleLogout}
Icon={IconLogout}
Icon={IconDoorEnter}
/>
</NavigationDrawerSection>
</>

View File

@ -48,6 +48,7 @@ export {
IconCurrencyYuan,
IconDatabase,
IconDeviceFloppy,
IconDoorEnter,
IconDotsVertical,
IconDownload,
IconEye,

View File

@ -31,7 +31,7 @@ const StyledContainer = styled.div<{ isSubMenu?: boolean }>`
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.spacing(8)};
gap: ${({ theme }) => theme.spacing(3)};
height: 100%;
min-width: ${desktopNavDrawerWidths.menu}px;
padding: ${({ theme }) => theme.spacing(3, 2, 4)};

View File

@ -77,6 +77,7 @@ const StyledItem = styled.div<StyledItemProps>`
`;
const StyledItemLabel = styled.div`
font-size: ${({ theme }) => theme.font.size.md};
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;