Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaushal Modi <kaushal.modi@gmail.com>2017-02-26 23:27:53 +0300
committerKaushal Modi <kaushal.modi@gmail.com>2017-02-26 23:27:53 +0300
commitc847bc494638f720a3373c0844dc7abb5732bf49 (patch)
tree4de61fb030a7a557960867374175fd9e28d07548
parenteadc8b400f3ab77ede06d6b70406188a236d1af1 (diff)
Don't hardcode the TOC max height
This commit prevents the combination of extra whitespace below the TOC and scrollbars to the TOC.
-rw-r--r--static/css/style.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 6b7c28e..7fe6145 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -683,7 +683,7 @@ a.article-title:hover,
padding-left: 20px;
overflow-y: auto;
line-height: 1.4em;
- max-height: 40.32em;
+ max-height: 85%;
}
.article-toc h3 {
font-weight: bold;