Mercurial > agora
diff templates/snippet/snippet_details.djhtml @ 145:ee999b9f33f5
Add horizontal scrollbar to snippet history box
So that when the history is too deeply nested, you can simply scroll
to view the rest rather than them being extremely narrow
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Sun, 14 Oct 2012 16:12:55 -0400 |
parents | 4d358e1e3014 |
children | f876cc7b7270 |
line wrap: on
line diff
--- a/templates/snippet/snippet_details.djhtml Sat Oct 13 17:42:22 2012 -0400 +++ b/templates/snippet/snippet_details.djhtml Sun Oct 14 16:12:55 2012 -0400 @@ -115,7 +115,7 @@ </p> {% else %} <form method="get" id="diffform" action="{% url snippet_diff %}"> - <div class="tree"> + <div id="snippet-history"> {% for tree_item,structure in tree|tree_info %} {% if structure.new_level %} <ul> @@ -151,10 +151,11 @@ </ul> {% endfor %} {% endfor %} - <div class="submit"> - <input type="submit" value="{% trans "Compare" %}"/> - </div><!-- closes the .submit div --> </div><!-- closes the .tree div --> + <br /> + <div class="submit"> + <input type="submit" value="{% trans "Compare" %}"/> + </div><!-- closes the .submit div --> </form> {% endif %} <br />