From 6fe8204dbe1190637104513067c8a02c7aa45ba8 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 6 Jan 2020 19:10:03 +0300 Subject: Make icons appear to the left of the labels --- src/components/Header/Header.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index 0600e7f..d6294db 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -18,8 +18,18 @@ import GitHubIcon from '@material-ui/icons/GitHub'; const useStyles = makeStyles(theme => ({ logo: { color: theme.palette.secondary.main, - margin: theme.spacing(0, 2, 0, 3) + margin: theme.spacing(0, 3, 0, 3), }, + tab: { + '& .MuiTab-wrapper': { + padding: theme.spacing(2), + flexDirection: 'row', + '& svg': { + marginRight: theme.spacing(1), + marginBottom: '0 !important', + } + } + } })); @@ -40,13 +50,16 @@ const Header = ({ page, setPage }) => { return ( - ChronoCube + + ChronoCube + { Object.keys(icons).map(item => ( ))} -- cgit v1.2.3