diff --git a/striker-ui/pages/index.tsx b/striker-ui/pages/index.tsx index a83f70a2..172ad780 100644 --- a/striker-ui/pages/index.tsx +++ b/striker-ui/pages/index.tsx @@ -12,14 +12,35 @@ import Servers from '../components/Servers'; import Header from '../components/Header'; import AnvilProvider from '../components/AnvilContext'; -const useStyles = makeStyles(() => ({ +const useStyles = makeStyles((theme) => ({ child: { width: '22%', height: '100%', + [theme.breakpoints.down('lg')]: { + width: '25%', + }, + [theme.breakpoints.down('md')]: { + width: '100%', + }, }, server: { width: '35%', height: '100%', + [theme.breakpoints.down('lg')]: { + width: '25%', + }, + [theme.breakpoints.down('md')]: { + width: '100%', + }, + }, + container: { + display: 'flex', + flexDirection: 'row', + width: '100%', + justifyContent: 'space-between', + [theme.breakpoints.down('md')]: { + display: 'block', + }, }, })); @@ -36,12 +57,7 @@ const Home = (): JSX.Element => {
{data?.anvils && ( - +