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:
@ -8,8 +8,8 @@ import {
|
|||||||
IconAt,
|
IconAt,
|
||||||
IconCalendarEvent,
|
IconCalendarEvent,
|
||||||
IconColorSwatch,
|
IconColorSwatch,
|
||||||
|
IconDoorEnter,
|
||||||
IconHierarchy2,
|
IconHierarchy2,
|
||||||
IconLogout,
|
|
||||||
IconMail,
|
IconMail,
|
||||||
IconRobot,
|
IconRobot,
|
||||||
IconSettings,
|
IconSettings,
|
||||||
@ -156,7 +156,7 @@ export const SettingsNavigationDrawerItems = () => {
|
|||||||
<NavigationDrawerItem
|
<NavigationDrawerItem
|
||||||
label="Logout"
|
label="Logout"
|
||||||
onClick={handleLogout}
|
onClick={handleLogout}
|
||||||
Icon={IconLogout}
|
Icon={IconDoorEnter}
|
||||||
/>
|
/>
|
||||||
</NavigationDrawerSection>
|
</NavigationDrawerSection>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@ -48,6 +48,7 @@ export {
|
|||||||
IconCurrencyYuan,
|
IconCurrencyYuan,
|
||||||
IconDatabase,
|
IconDatabase,
|
||||||
IconDeviceFloppy,
|
IconDeviceFloppy,
|
||||||
|
IconDoorEnter,
|
||||||
IconDotsVertical,
|
IconDotsVertical,
|
||||||
IconDownload,
|
IconDownload,
|
||||||
IconEye,
|
IconEye,
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const StyledContainer = styled.div<{ isSubMenu?: boolean }>`
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: ${({ theme }) => theme.spacing(8)};
|
gap: ${({ theme }) => theme.spacing(3)};
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-width: ${desktopNavDrawerWidths.menu}px;
|
min-width: ${desktopNavDrawerWidths.menu}px;
|
||||||
padding: ${({ theme }) => theme.spacing(3, 2, 4)};
|
padding: ${({ theme }) => theme.spacing(3, 2, 4)};
|
||||||
|
|||||||
@ -77,6 +77,7 @@ const StyledItem = styled.div<StyledItemProps>`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledItemLabel = styled.div`
|
const StyledItemLabel = styled.div`
|
||||||
|
font-size: ${({ theme }) => theme.font.size.md};
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
Reference in New Issue
Block a user