From 55cf1d8d3b325c3f42d9d36a03f3283654c76efd Mon Sep 17 00:00:00 2001 From: Vit Gottwald Date: Tue, 17 Oct 2023 21:32:37 +0200 Subject: [PATCH] Make code blocks vertically scrollable To make it possible to read the docs on a phone --- hugo/static/custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hugo/static/custom.css b/hugo/static/custom.css index 751cda8b..2d0b36c4 100644 --- a/hugo/static/custom.css +++ b/hugo/static/custom.css @@ -210,6 +210,10 @@ h4 { font-size: 1.125rem; } +.gdoc-markdown pre code { + overflow-x: scroll; +} + .gdoc_heart { margin-left: 5px; }