diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-12 20:45:05 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-12 20:45:05 -0600 |
commit | 9b1a369f7e637471ad945642b3f90135e7d03d9d (patch) | |
tree | d9a0ed56ec26ee0412235bace9adfd5a50860e52 /modern/src/StartPage.js | |
parent | d7edd918d1435384e2b51d8f3ce8fb61aa7e7e01 (diff) | |
download | etbsa-traccar-web-9b1a369f7e637471ad945642b3f90135e7d03d9d.tar.gz etbsa-traccar-web-9b1a369f7e637471ad945642b3f90135e7d03d9d.tar.bz2 etbsa-traccar-web-9b1a369f7e637471ad945642b3f90135e7d03d9d.zip |
Removed sidebar and attribution (sorry, I didn't want to) from login page
Diffstat (limited to 'modern/src/StartPage.js')
-rw-r--r-- | modern/src/StartPage.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modern/src/StartPage.js b/modern/src/StartPage.js index 1e204c2..91b93c7 100644 --- a/modern/src/StartPage.js +++ b/modern/src/StartPage.js @@ -18,7 +18,7 @@ const useStyles = makeStyles((theme) => ({ [theme.breakpoints.down('md')]: { width: theme.dimensions.sidebarWidthTablet, }, - [theme.breakpoints.down('xs')]: { + [theme.breakpoints.down('xl')]: { width: '0px', }, }, @@ -29,7 +29,7 @@ const useStyles = makeStyles((theme) => ({ alignItems: 'center', flex: 1, boxShadow: '-2px 0px 16px rgba(0, 0, 0, 0.25)', - [theme.breakpoints.up('lg')]: { + [theme.breakpoints.up('xl')]: { padding: theme.spacing(0, 25, 0, 0), }, }, @@ -43,6 +43,7 @@ const useStyles = makeStyles((theme) => ({ bottom: theme.spacing(1), right: theme.spacing(1.5), fontSize: 'x-small', + display: 'none', }, })); @@ -54,7 +55,7 @@ const StartPage = ({ children }) => { <> <main className={classes.root}> <div className={classes.sidebar}> - {!useMediaQuery(theme.breakpoints.down('md')) + {!useMediaQuery(theme.breakpoints.down('xl')) && ( <svg height="64" width="240"> <use xlinkHref="/logo.svg#img" /> |