Navigation fix - margin left 0
parent
4611187bd7
commit
77550cbb61
|
@ -14,7 +14,7 @@ import { useTranslation } from "react-i18next";
|
|||
import Flag from "react-flags";
|
||||
import Navigation from "./Navigation";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
const useStyles = makeStyles(theme => ({
|
||||
root: {
|
||||
flexGrow: 1
|
||||
},
|
||||
|
@ -23,6 +23,9 @@ const useStyles = makeStyles((theme) => ({
|
|||
},
|
||||
title: {
|
||||
flexGrow: 1
|
||||
},
|
||||
navigation: {
|
||||
marginLeft: 0
|
||||
}
|
||||
}));
|
||||
|
||||
|
@ -46,7 +49,7 @@ const Header = () => {
|
|||
});
|
||||
}, [i18n.language]);
|
||||
|
||||
const handleMenu = (event) => {
|
||||
const handleMenu = event => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
};
|
||||
|
||||
|
@ -54,7 +57,7 @@ const Header = () => {
|
|||
setAnchorEl(null);
|
||||
};
|
||||
|
||||
const changeLanguage = (language) => () => {
|
||||
const changeLanguage = language => () => {
|
||||
if (language != i18n.language) {
|
||||
i18n.changeLanguage(language);
|
||||
}
|
||||
|
@ -83,7 +86,7 @@ const Header = () => {
|
|||
<MenuIcon />
|
||||
</IconButton>
|
||||
|
||||
<Container>
|
||||
<Container className={classes.navigation}>
|
||||
<Typography variant="h6" className={classes.title}>
|
||||
Reverse proxy
|
||||
</Typography>
|
||||
|
|
Loading…
Reference in New Issue