UX: add MQ to change grid layout for main-outlet-wrapper (#37564)

The sidebar becomes a floating-overlay element at size = md, so by
updating the grid layout we avoid an invisible element interfering with
grid gap properties.

This shouldn't change anything visually and have no theme-impact afaict.
This commit is contained in:
chapoi
2026-02-05 10:58:32 +01:00
committed by GitHub
parent 73e3286356
commit 405603408d
@@ -869,6 +869,13 @@ form {
grid-template-columns: 0 minmax(0, 1fr); // 0 column width needs to be set for CSS transitions
gap: 0;
@include viewport.until(md) {
grid-template-areas:
"content"
"below-content";
grid-template-columns: 1fr;
}
#main-outlet {
grid-area: content;
}