From 33c1e5b5baf244c95dc8e30d1953c2098e97fd3d Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Sun, 9 Sep 2012 15:37:53 -0400 Subject: [PATCH] Add horizontal scrolling to pre blocks. --- .../static/djangorestframework/css/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css index 5c44e93f9..2d937be43 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; +}