Skip to content

Commit ce45b83

Browse files
authored
Merge pull request #831 from getmaxun/spn-lnk
fix(ui): cleaner nav icons
2 parents 72751c7 + 4860f79 commit ce45b83

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/dashboard/NavBar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import {
2727
GitHub,
2828
Update,
2929
Close,
30-
Language,
3130
Description,
3231
LightMode,
33-
DarkMode
32+
DarkMode,
33+
Translate
3434
} from "@mui/icons-material";
3535
import { useNavigate } from 'react-router-dom';
3636
import { AuthContext } from '../../context/auth';
@@ -233,7 +233,7 @@ export const NavBar: React.FC<NavBarProps> = ({
233233
cursor: 'pointer'
234234
}}
235235
onClick={() => navigate('/')}>
236-
<img src={MaxunLogo} width={45} height={40} style={{ borderRadius: '5px', margin: '5px 0px 5px 15px' }} />
236+
<img src={MaxunLogo} width={48} height={40} style={{ borderRadius: '5px', margin: '5px 0px 5px 15px' }} />
237237
<div style={{ padding: '11px' }}><ProjectName mode={darkMode ? 'dark' : 'light'}>{t('navbar.project_name')}</ProjectName></div>
238238
<Chip
239239
label={`${currentVersion}`}
@@ -391,7 +391,7 @@ export const NavBar: React.FC<NavBarProps> = ({
391391
<Logout sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.logout')}
392392
</MenuItem>
393393
<MenuItem onClick={handleLangMenuOpen}>
394-
<Language sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.language')}
394+
<Translate sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.language')}
395395
</MenuItem>
396396
<hr />
397397
<MenuItem onClick={() => {
@@ -513,10 +513,10 @@ export const NavBar: React.FC<NavBarProps> = ({
513513
alignItems: "center",
514514
borderRadius: "5px",
515515
padding: "8px",
516-
marginRight: "8px",
516+
marginRight: "4px",
517517
}}
518518
>
519-
<Language sx={{ marginRight: '5px' }} /><Typography variant="body1">{t("Language")}</Typography>
519+
<Translate />
520520
</IconButton>
521521
<Menu
522522
anchorEl={langAnchorEl}

0 commit comments

Comments
 (0)