From 2a5b0acc82ae06fa0cbae7e3f710263f300d8fad Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Mon, 7 Oct 2024 12:12:05 +0200 Subject: [PATCH] Change the grid for #main as soon as the sidebar collapses --- frontend/src/global_styles/layout/_base_mobile.sass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/global_styles/layout/_base_mobile.sass b/frontend/src/global_styles/layout/_base_mobile.sass index 2e17194bb340..0eb5ec9de403 100644 --- a/frontend/src/global_styles/layout/_base_mobile.sass +++ b/frontend/src/global_styles/layout/_base_mobile.sass @@ -47,9 +47,6 @@ padding-left: 15px padding-right: 15px - #main - grid-template-columns: auto - #breadcrumb, .hidden-for-mobile display: none !important @@ -66,6 +63,9 @@ display: none !important @media screen and (max-width: $breakpoint-lg) + #main + grid-template-columns: auto + #content:has(#content-bodyRight > *) grid-template-columns: 1fr auto