aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework
diff options
context:
space:
mode:
authorAlec Perkins2012-09-09 15:37:53 -0400
committerAlec Perkins2012-09-09 15:37:53 -0400
commit33c1e5b5baf244c95dc8e30d1953c2098e97fd3d (patch)
treeef4f637fce3dc13686f44978388b1527bc1513d0 /djangorestframework
parentab9621ed8166a91088f2aa0d17c235bb38baec15 (diff)
downloaddjango-rest-framework-33c1e5b5baf244c95dc8e30d1953c2098e97fd3d.tar.bz2
Add horizontal scrolling to pre blocks.
Diffstat (limited to 'djangorestframework')
-rw-r--r--djangorestframework/static/djangorestframework/css/style.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css
index 5c44e93f..2d937be4 100644
--- a/djangorestframework/static/djangorestframework/css/style.css
+++ b/djangorestframework/static/djangorestframework/css/style.css
@@ -56,3 +56,9 @@ h2, h3 {
.errorlist {
margin-top: 0.5em;
}
+
+pre {
+ overflow: auto;
+ word-wrap: normal;
+ white-space: pre;
+}