autodoc: Preserve whitespace in inline code spans

Fixes #20754
This commit is contained in:
Ryan Liptak
2024-07-22 22:40:38 -07:00
committed by Andrew Kelley
parent 8a8a7ba35b
commit ac2459327f
+3
View File
@@ -26,6 +26,9 @@
margin: 0;
overflow-x: auto;
}
:not(pre) > code {
white-space: break-spaces;
}
code {
font-family:"Source Code Pro",monospace;
font-size: 0.9em;