From 0747d972b1f69cbae6d74f7d95d964ce0195bce1 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Mon, 26 Sep 2022 13:19:07 +0200 Subject: [PATCH] feat(docsify): improve nav menu responsivness --- styles/documentation.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/styles/documentation.css b/styles/documentation.css index fc0c5411c..996b8ac48 100644 --- a/styles/documentation.css +++ b/styles/documentation.css @@ -236,8 +236,12 @@ footer { text-align: center; } -/* Mobile */ - +/* Responsivness */ +@media (min-width: 1201px) and (max-width: 1350px) { + .app-nav li { + padding: 0 .6rem; + } +} @media (min-width: 1201px) { .app-nav > ul { display: flex !important; @@ -248,6 +252,10 @@ footer { .app-nav > ul #back { display: none; } + /* li that contains back link for mobile */ + .app-nav > ul > li:first-child { + display: none; + } .backdrop { display: none; }