aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar
diff options
context:
space:
mode:
authorMikhail Korobov2009-09-01 20:33:22 +0600
committerRob Hudson2009-09-07 09:04:58 -0700
commit6445ef28c70018d8e44db1fc68c8d30ce3c1f777 (patch)
treef5033100ebc6560c745b42bc1a019f289ecb42cf /debug_toolbar
parent12136431e826dd31442376235d3fa3ca40c0216d (diff)
downloaddjango-debug-toolbar-6445ef28c70018d8e44db1fc68c8d30ce3c1f777.tar.bz2
Allow template source to be scrollable
Signed-off-by: Rob Hudson <rob@cogit8.org>
Diffstat (limited to 'debug_toolbar')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/template_source.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/template_source.html b/debug_toolbar/templates/debug_toolbar/panels/template_source.html
index 192d1af..3b265a9 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/template_source.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/template_source.html
@@ -4,5 +4,7 @@
<h3>Template Source: <code>{{ template_name }}</code></h3>
</div>
<div class="djDebugPanelContent">
- {{ source }}
+ <div class='scroll'>
+ {{ source }}
+ </div>
</div>