From 9439405c96aaccfce0d77499ab0989bd5dd9ae2b Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Mon, 27 Jun 2016 09:08:44 +0200 Subject: [PATCH] Add vertical scrollbar to listings Via getnikola/nikola-themes#86 Signed-off-by: Chris Warrick --- CHANGES.txt | 1 + nikola/data/themes/bootstrap3/assets/css/theme.css | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 5f7a4f52ee..2417701f20 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ Features Bugfixes -------- +* Add vertical scrollbar to listings (via getnikola/nikola-themes#86) * Copy files when importing two-file posts instead of reading and writing (useful for binary formats, eg. docx) (Issue #2380) diff --git a/nikola/data/themes/bootstrap3/assets/css/theme.css b/nikola/data/themes/bootstrap3/assets/css/theme.css index 0cbfa57a4c..52466de050 100644 --- a/nikola/data/themes/bootstrap3/assets/css/theme.css +++ b/nikola/data/themes/bootstrap3/assets/css/theme.css @@ -177,6 +177,14 @@ article.post-micro { border-top: 1px solid #e5e5e5; } +.codetable { + table-layout: fixed; +} + +.codetable pre { + overflow-x: scroll; +} + /* hat tip bootstrap/html5 boilerplate */ @media print { *, *:before, *:after {