From caa25a31506101a4eb4632ad0687f378eeab3662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=A4schle?= Date: Sun, 7 Jun 2020 01:24:12 +0200 Subject: [PATCH] vdoc: fix horizontal scrollbar --- cmd/tools/vdoc-resources/doc.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vdoc-resources/doc.css b/cmd/tools/vdoc-resources/doc.css index 1f29c88515..6d7f6145ee 100644 --- a/cmd/tools/vdoc-resources/doc.css +++ b/cmd/tools/vdoc-resources/doc.css @@ -104,6 +104,7 @@ body { } *::-webkit-scrollbar { width: 8px; + height: 8px; } *::-webkit-scrollbar-track { background: transparent; @@ -409,9 +410,11 @@ code[class*="language-"] { border-radius: 0.25rem; overflow-x: auto; } +code[class*="language-"] { + padding: 1rem; +} pre[class*="language-"] { overflow: auto; - padding: 1rem; margin: 0; } .namespace {