From 31996a1ded0e953924d3357cd7c461a4096cfa1c Mon Sep 17 00:00:00 2001 From: liucht Date: Wed, 11 Nov 2020 18:56:56 +0800 Subject: [PATCH 1/3] Fix the correct display of left menu item --- docs/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/css/main.css b/docs/css/main.css index 8168a46f9a43..466f33699515 100755 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -325,6 +325,7 @@ a.anchorjs-link:hover { text-decoration: none; } border-bottom-width: 0px; margin-top: 0px; width: 210px; + height:80%; float: left; position: fixed; overflow-y: scroll; From 0dff48a9412c7acc08cc106a2a2646aba06455c6 Mon Sep 17 00:00:00 2001 From: liucht Date: Thu, 12 Nov 2020 09:02:23 +0800 Subject: [PATCH 2/3] Adjust the code format and add whitespace --- docs/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/css/main.css b/docs/css/main.css index 466f33699515..b3876e0d5f90 100755 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -325,7 +325,7 @@ a.anchorjs-link:hover { text-decoration: none; } border-bottom-width: 0px; margin-top: 0px; width: 210px; - height:80%; + height: 80%; float: left; position: fixed; overflow-y: scroll; From 5dee41db7848760d5542335b1e1e0d383c8564c9 Mon Sep 17 00:00:00 2001 From: liucht Date: Wed, 18 Nov 2020 17:08:54 +0800 Subject: [PATCH 3/3] Fix the display style when the bar is folded #30335 (comment) --- docs/css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/css/main.css b/docs/css/main.css index b3876e0d5f90..8b279a157c2b 100755 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -162,6 +162,7 @@ body .container-wrapper { margin-right: auto; border-radius: 15px; position: relative; + min-height: 100vh; } .title { @@ -264,6 +265,7 @@ a:hover code { max-width: 914px; line-height: 1.6; /* Inspired by Github's wiki style */ padding-left: 30px; + min-height: 100vh; } .dropdown-menu {