From 9b9fc6ab97cccd5f11ccec85333c67c3b3584253 Mon Sep 17 00:00:00 2001 From: Jonathan Corbet Date: Tue, 7 Jul 2026 11:34:47 -0600 Subject: [PATCH] Revert "docs: allow inline literals in paragraphs to wrap to prevent overflow" This reverts commit f2679ac773899f5fdea0b68d5077eef5f88dfd42. This change causes truly unreadable breaking of literal strings in a number of settings. Reported-by: Daniel Lundberg Pedersen Link: https://lore.kernel.org/all/c542aaf7-6a40-4730-8bd6-208c9fe932d5@qtec.com Signed-off-by: Jonathan Corbet --- Documentation/sphinx-static/custom.css | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css index 5aa0a1ed9864..2e019c8f8a56 100644 --- a/Documentation/sphinx-static/custom.css +++ b/Documentation/sphinx-static/custom.css @@ -156,15 +156,6 @@ div.language-selection ul li:hover { background: #dddddd; } -/* - * Let long inline literals in paragraph text wrap as needed to prevent - * overflow. - */ -code.docutils.literal span.pre { - white-space: normal; - overflow-wrap: anywhere; -} - /* Let rendered reference links in tables wrap when needed. */ div.body table.docutils a.reference { overflow-wrap: anywhere;