From 1f1b16722efabb7cdc92e1fdc1b246e69974db38 Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Thu, 13 Oct 2011 10:09:17 +0000 Subject: [PATCH] Fixed a padding issue in admin tabular inline headers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16968 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/static/admin/css/base.css | 2 +- django/contrib/admin/static/admin/css/changelists.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index 5db94a7d25..5e5fc58a77 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -310,7 +310,7 @@ tr.alt { /* SORTABLE TABLES */ thead th { - padding: 0; + padding: 2px 5px; line-height: normal; } diff --git a/django/contrib/admin/static/admin/css/changelists.css b/django/contrib/admin/static/admin/css/changelists.css index 4c1e7aae98..3c1a8c16a9 100644 --- a/django/contrib/admin/static/admin/css/changelists.css +++ b/django/contrib/admin/static/admin/css/changelists.css @@ -51,6 +51,7 @@ /* CHANGELIST TABLES */ #changelist table thead th { + padding: 0; white-space: nowrap; vertical-align: middle; }