Skip to content

Commit 06987c2

Browse files
authored
Use consistent line-height in code blocks for light & dark theme (#227)
1 parent e0b4a33 commit 06987c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python_docs_theme/static/pydoctheme.css

+4
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ tt, code, pre {
328328
font-size: 96.5%;
329329
}
330330

331+
div.body pre {
332+
line-height: 120%;
333+
}
334+
331335
div.body tt,
332336
div.body code {
333337
border-radius: 3px;

0 commit comments

Comments
 (0)