From f5d92099946d031f9f3ae0027a4889e9b810b558 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Sun, 10 Apr 2022 23:47:47 +0100 Subject: [PATCH] Remove pre-wrap CSS rule that breaks multi-line inline literals As written up in detail at https://github.com/python/peps/issues/2511, this rule breaks the rendering of 199 inline literals across all the PEPs, and appears to have no reason to exist. I therefore propose to remove it. --- pep_sphinx_extensions/pep_theme/static/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/pep_sphinx_extensions/pep_theme/static/style.css b/pep_sphinx_extensions/pep_theme/static/style.css index ec5083f9d74..084b760aa87 100644 --- a/pep_sphinx_extensions/pep_theme/static/style.css +++ b/pep_sphinx_extensions/pep_theme/static/style.css @@ -111,7 +111,6 @@ pre { code { overflow-wrap: break-word; overflow-wrap: anywhere; - white-space: pre-wrap; } code.literal { font-size: .8em;