From 80c57ae0c08b6feebc7b8196f0b83c4882406090 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Fri, 25 Sep 2020 17:23:07 +0200 Subject: [PATCH] Revert "Fix return to previous page on screen size change (#710)" This reverts commit 45d33c392081dc418ef3cc7d2b67d8fda522c458. --- src/components/AppLayout/AppLayout.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/components/AppLayout/AppLayout.tsx b/src/components/AppLayout/AppLayout.tsx index f46884fd3..bbfbf4475 100644 --- a/src/components/AppLayout/AppLayout.tsx +++ b/src/components/AppLayout/AppLayout.tsx @@ -90,24 +90,13 @@ const useStyles = makeStyles( marginRight: theme.spacing(2) }, header: { - display: "grid", - gridTemplateAreas: `"headerAnchor headerToolbar"`, [theme.breakpoints.down("sm")]: { height: 88, marginBottom: 0 }, - marginBottom: theme.spacing(3) - }, - headerAnchor: { - gridArea: "headerAnchor" - }, - headerToolbar: { display: "flex", - gridArea: "headerToolbar", height: 40, - [theme.breakpoints.down("sm")]: { - height: "auto" - } + marginBottom: theme.spacing(3) }, isMenuSmall: { "& path": {