From 2354d56825f568d6826681febf3c0956acba5918 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Mon, 30 Nov 2020 13:58:44 +0100 Subject: [PATCH] small tweaks for the docs sidebar (#2359) --- website/src/css/customTheme.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/website/src/css/customTheme.scss b/website/src/css/customTheme.scss index f138b49596a..45ed6b99dd5 100644 --- a/website/src/css/customTheme.scss +++ b/website/src/css/customTheme.scss @@ -516,6 +516,10 @@ div[class^="docSidebarContainer"] { width: 266px; min-width: 266px; margin-right: 16px; + + .menu { + padding: 12px; + } } .menu__list { @@ -572,9 +576,10 @@ html[data-theme="dark"] .menu { @extend %scrollbar-style-dark; } -@media (min-width: 997px) { - div[class^="docSidebarContainer"] .menu { - padding: 16px 12px; +@media (max-width: 1080px) { + div[class^="docSidebarContainer"] { + width: 236px; + min-width: 236px; } }