Author: mtredinnick
Date: 2010-09-10 12:49:42 -0500 (Fri, 10 Sep 2010)
New Revision: 13711

Modified:
   django/trunk/django/contrib/admin/media/css/changelists.css
   django/trunk/django/contrib/admin/templates/admin/change_list_results.html
Log:
Admin changelist page now has consistent width with or without filter
bar.

Patch and testing from Kronuz and radez.

Modified: django/trunk/django/contrib/admin/media/css/changelists.css
===================================================================
--- django/trunk/django/contrib/admin/media/css/changelists.css 2010-09-10 
17:08:14 UTC (rev 13710)
+++ django/trunk/django/contrib/admin/media/css/changelists.css 2010-09-10 
17:49:42 UTC (rev 13711)
@@ -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;
 }

Modified: 
django/trunk/django/contrib/admin/templates/admin/change_list_results.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/change_list_results.html  
2010-09-10 17:08:14 UTC (rev 13710)
+++ django/trunk/django/contrib/admin/templates/admin/change_list_results.html  
2010-09-10 17:49:42 UTC (rev 13711)
@@ -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 %}

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to