summaryrefslogtreecommitdiff
path: root/docs/_theme
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-22 15:56:06 -0400
committerTim Graham <timograham@gmail.com>2015-06-22 15:56:06 -0400
commitc45fbd060a3173edd868fc011614f01bc61b78b6 (patch)
tree41be54545bb68450a2c7786b5d6e4965378af529 /docs/_theme
parent514b69cb9e1ec08f22f04a6a2ed29b130cb42258 (diff)
Added white-space: pre-wrap; to docs code blocks to match docs.dp.com.
Diffstat (limited to 'docs/_theme')
-rw-r--r--docs/_theme/djangodocs/static/djangodocs.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_theme/djangodocs/static/djangodocs.css b/docs/_theme/djangodocs/static/djangodocs.css
index 9cf2384da0..569e53e434 100644
--- a/docs/_theme/djangodocs/static/djangodocs.css
+++ b/docs/_theme/djangodocs/static/djangodocs.css
@@ -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; }