From c45fbd060a3173edd868fc011614f01bc61b78b6 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 22 Jun 2015 15:56:06 -0400 Subject: [PATCH] Added white-space: pre-wrap; to docs code blocks to match docs.dp.com. --- docs/_theme/djangodocs/static/djangodocs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }