From: Vladimír Vondruš Date: Wed, 1 Nov 2017 16:45:52 +0000 (+0100) Subject: css: document that code blocks overflow with a scrollbar. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=d80b8bc0a52f39dc1f1298dabad83ea8bf9f150b;p=blog.git css: document that code blocks overflow with a scrollbar. Instead of the lines being wrapped. --- diff --git a/doc/css/components.rst b/doc/css/components.rst index e490fbb7..a948367a 100644 --- a/doc/css/components.rst +++ b/doc/css/components.rst @@ -669,7 +669,9 @@ For example, code highlighted using: Will spit out a bunch of :html:`` elements like below. To create a code block, wrap the output in :html:`
` (note that whitespace
-matters inside this tag):
+matters inside this tag). The block doesn't wrap lines on narrow screens to not
+hurt readability, a horizontal scrollbar is shown instead if the content is
+too wide.
 
 .. code-figure::