mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 07:03:28 -04:00
Revert "docs: allow inline literals in paragraphs to wrap to prevent overflow"
This reverts commit f2679ac773.
This change causes truly unreadable breaking of literal strings in a number
of settings.
Reported-by: Daniel Lundberg Pedersen <dlp@qtec.com>
Link: https://lore.kernel.org/all/c542aaf7-6a40-4730-8bd6-208c9fe932d5@qtec.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user