From 9ccbe31b3f98feeee48592b93a8f33264b5847d9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 5 Apr 2020 15:48:56 +0200 Subject: [PATCH] docs: small screen layout fix on home/download pages --- resources/docs/download.md | 7 ++++++- resources/docs/index.md | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index d59a8388..863a1b14 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -56,9 +56,14 @@ function reqListener () { html { overflow-y: scroll } -.md-sidebar--secondary, .md-sidebar--primary { +.md-sidebar--secondary { display: none; } +@media screen and (min-width: 76.1875em) { + .md-sidebar--primary { + display: none; + } +} .md-content { margin: 0; } diff --git a/resources/docs/index.md b/resources/docs/index.md index 8e79c8f7..4066f781 100644 --- a/resources/docs/index.md +++ b/resources/docs/index.md @@ -14,9 +14,15 @@ h1, h2 { html { overflow-y: scroll } -.md-sidebar--secondary, .md-sidebar--primary { +.md-sidebar--secondary { display: none; } +@media screen and (min-width: 76.1875em) { + .md-sidebar--primary { + display: none; + } +} + .md-content { margin: 0; }