Skip to content

Commit 98b16c3

Browse files
committed
sidebar updates
1 parent f3936b7 commit 98b16c3

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

src/services/locales/zu.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"text": "Stack Components"
292292
},
293293
"setting": {
294-
"text": "Setting"
294+
"text": "Settings"
295295
}
296296
}
297297
},

src/ui/layouts/common/layouts/AuthenticatedLayout/AuthenticatedSidebar/Menu/MenuItem.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ $bgColor: rgba(201, 203, 208, 0.2);
55
.menuItem {
66
display: block;
77
text-decoration: none;
8-
border-radius: 4px
8+
border-radius: 4px;
9+
height: 40px !important;
10+
text-decoration: none;
911
}
1012

1113
.menuItem,
@@ -17,6 +19,7 @@ $bgColor: rgba(201, 203, 208, 0.2);
1719

1820
.activeMenuItem,
1921
.menuItem:hover {
22+
text-decoration: none;
2023
& p {
2124
color: #E8A562;
2225
}

src/ui/layouts/common/layouts/AuthenticatedLayout/AuthenticatedSidebar/SideFooter/MenuItemExternal.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ $bgColor: rgba(201, 203, 208, 0.2);
1111
display: block;
1212
text-decoration: none;
1313
border-radius: 4px;
14+
height: 40px
1415
}
1516

1617
.menuItem,
@@ -22,6 +23,7 @@ $bgColor: rgba(201, 203, 208, 0.2);
2223

2324
.activeMenuItem,
2425
.menuItem:hover {
26+
text-decoration: none;
2527
& p {
2628
color: #E8A562;
2729
}

src/ui/layouts/common/layouts/AuthenticatedLayout/AuthenticatedSidebar/SideFooter/MenuItemExternal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const MenuItemExternal: React.FC<{
1111

1212
return (
1313
<Box className={styles.menuItem} style={{ marginLeft: '6px' }}>
14-
<FlexBox alignItems="center" paddingVertical="sm" marginVertical="sm">
14+
<FlexBox alignItems="center" marginVertical="sm">
1515
<FlexBox style={{ width: '100%' }}>
1616

1717
<Box paddingLeft={subItem ? 'xl' : 'md'}><Icon /></Box>

src/ui/layouts/common/layouts/AuthenticatedLayout/AuthenticatedSidebar/SideFooter/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const SideFooter: React.FC = () => {
2929

3030
return (
3131
<>
32-
<Box marginHorizontal="md">
32+
<Box marginHorizontal="md" paddingBottom='md'>
3333
<Separator.LightNew />
3434
</Box>
3535

@@ -55,9 +55,9 @@ export const SideFooter: React.FC = () => {
5555
<icons.settings color={iconColors.white} size={iconSizes.md} />
5656
)} to={routePaths.settings.personalDetails} text={translate('menu.setting.text')} />
5757

58-
<Box paddingLeft='md' paddingTop="md" paddingBottom="sm">
59-
<Paragraph color='white' style={{ fontSize: '8px' }}>UI Version v{process.env.REACT_APP_VERSION}</Paragraph>
60-
<Paragraph color='white' style={{ fontSize: '8px' }}>ZenML v{apiVersion}</Paragraph>
58+
<Box style={{ paddingLeft: '12px' }} paddingTop="md" paddingBottom='lg' >
59+
<Paragraph color='white' style={{ fontSize: '8px', fontWeight: 400 }}>UI Version v{process.env.REACT_APP_VERSION}</Paragraph>
60+
<Paragraph color='white' style={{ fontSize: '8px', fontWeight: 400 }}>ZenML v{apiVersion}</Paragraph>
6161
</Box>
6262
</>
6363
);

src/ui/layouts/common/layouts/AuthenticatedLayout/AuthenticatedSidebar/SideHeader/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const SideHeader: React.FC = () => {
1515
text={translate('menu.home.text')}
1616
exact
1717
/>
18-
<Box marginHorizontal="md">
18+
<Box marginHorizontal="md" paddingTop='md'>
1919
<Separator.LightNew />
2020
</Box>
2121
</>

src/ui/layouts/common/layouts/AuthenticatedLayout/AuthenticatedSidebar/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const AuthenticatedSidebar: React.FC<{
4040
paddingLeft="lg"
4141
// justifyContent="center"
4242
// className="d-md-none"
43+
style={{ cursor: 'pointer' }}
4344
onClick={() => push('/')}
4445
>
4546
<MaiotLogoWhite />

0 commit comments

Comments
 (0)