diff options
| author | Alec Perkins | 2012-09-09 15:37:53 -0400 | 
|---|---|---|
| committer | Alec Perkins | 2012-09-09 15:37:53 -0400 | 
| commit | 33c1e5b5baf244c95dc8e30d1953c2098e97fd3d (patch) | |
| tree | ef4f637fce3dc13686f44978388b1527bc1513d0 /djangorestframework | |
| parent | ab9621ed8166a91088f2aa0d17c235bb38baec15 (diff) | |
| download | django-rest-framework-33c1e5b5baf244c95dc8e30d1953c2098e97fd3d.tar.bz2 | |
Add horizontal scrolling to pre blocks.
Diffstat (limited to 'djangorestframework')
| -rw-r--r-- | djangorestframework/static/djangorestframework/css/style.css | 6 | 
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; +}  | 
