mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Added white-space: pre-wrap; to docs code blocks to match docs.dp.com.
This commit is contained in:
parent
514b69cb9e
commit
c45fbd060a
2
docs/_theme/djangodocs/static/djangodocs.css
vendored
2
docs/_theme/djangodocs/static/djangodocs.css
vendored
@ -96,7 +96,7 @@ table.docutils { border-collapse:collapse; }
|
||||
dt > tt.literal { white-space: normal; }
|
||||
#sidebar .literal { color:white; background:transparent; font-size:11px; }
|
||||
h4 .literal { color: #234f32; font-size: 13px; }
|
||||
pre { font-size:small; background:#E0FFB8; border:1px solid #94da3a; border-width:1px 0; margin: 1em 0; padding: .3em .4em; overflow: hidden; line-height: 1.3em;}
|
||||
pre { font-size:small; background:#E0FFB8; border:1px solid #94da3a; border-width:1px 0; margin: 1em 0; padding: .3em .4em; overflow: hidden; line-height: 1.3em; white-space: pre-wrap;}
|
||||
dt .literal, table .literal { background:none; }
|
||||
#bd a.reference { text-decoration: none; }
|
||||
#bd a.reference tt.literal { border-bottom: 1px #234f32 dotted; }
|
||||
|
Loading…
Reference in New Issue
Block a user