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,
|
||||
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>
|
||||
</>
|
||||
|
||||
@ -48,6 +48,7 @@ export {
|
||||
IconCurrencyYuan,
|
||||
IconDatabase,
|
||||
IconDeviceFloppy,
|
||||
IconDoorEnter,
|
||||
IconDotsVertical,
|
||||
IconDownload,
|
||||
IconEye,
|
||||
|
||||
@ -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)};
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user