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
This commit is contained in:
Malcolm Tredinnick 2010-09-10 17:49:42 +00:00
parent 30ad353718
commit 003ed01bb3
2 changed files with 3 additions and 1 deletions

View File

@ -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 File

@ -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 %}