Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Admin changelist page now has consistent width with or without filter

bar.

Patch and testing from Kronuz and radez.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 003ed01bb3c8b26fbc16c38d6e7d110cf7fd0d8c 1 parent 30ad353
@malcolmt malcolmt authored
View
2  django/contrib/admin/media/css/changelists.css
@@ -21,7 +21,7 @@
background: white url(../img/admin/changelist-bg.gif) top right repeat-y !important;
}
-.change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
+.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
margin-right: 160px !important;
width: auto !important;
}
View
2  django/contrib/admin/templates/admin/change_list_results.html
@@ -1,4 +1,5 @@
{% if results %}
+<div class="results">
<table cellspacing="0" id="result_list">
<thead>
<tr>
@@ -14,4 +15,5 @@
{% endfor %}
</tbody>
</table>
+</div>
{% endif %}
Please sign in to comment.
Something went wrong with that request. Please try again.