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:
parent
30ad353718
commit
003ed01bb3
|
@ -21,7 +21,7 @@
|
||||||
background: white url(../img/admin/changelist-bg.gif) top right repeat-y !important;
|
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;
|
margin-right: 160px !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{% if results %}
|
{% if results %}
|
||||||
|
<div class="results">
|
||||||
<table cellspacing="0" id="result_list">
|
<table cellspacing="0" id="result_list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -14,4 +15,5 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue