From 76beaa6ffcc7d25f5b9f5405c2c5f38b1739336b Mon Sep 17 00:00:00 2001 From: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> Date: Tue, 5 May 2015 23:49:30 +0200 Subject: [PATCH] Add a scrollbar to the TOC Replace `min-height' by `height', and add `overflow-y:scroll'. --- styles/readtheorg/css/readtheorg.css | 5 +++-- styles/readtheorg/readtheorg.org | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/styles/readtheorg/css/readtheorg.css b/styles/readtheorg/css/readtheorg.css index e0337dc..9c07f72 100755 --- a/styles/readtheorg/css/readtheorg.css +++ b/styles/readtheorg/css/readtheorg.css @@ -690,8 +690,9 @@ hr{ top:0; left:0; width:300px; - overflow:hidden; - min-height:100%; + overflow-x:hidden; + overflow-y:scroll; + height:100%; background:#343131; z-index:200} diff --git a/styles/readtheorg/readtheorg.org b/styles/readtheorg/readtheorg.org index 8bce1ad..36e221b 100755 --- a/styles/readtheorg/readtheorg.org +++ b/styles/readtheorg/readtheorg.org @@ -847,8 +847,9 @@ hr{ top:0; left:0; width:300px; - overflow:hidden; - min-height:100%; + overflow-x:hidden; + overflow-y:scroll; + height:100%; background:#343131; z-index:200}