mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02: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:
parent
7e35a46588
commit
9b9fc6ab97
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user