From 7a6a29b11026b6ab35932294443e27f929a5cc20 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Thu, 9 Feb 2017 14:44:26 +0100 Subject: [PATCH] Fixed issue #12 - Inlines bad delete buttons alignement --- admin_interface/templates/admin/base_site.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/admin_interface/templates/admin/base_site.html b/admin_interface/templates/admin/base_site.html index 85114a4..7f8f5c8 100644 --- a/admin_interface/templates/admin/base_site.html +++ b/admin_interface/templates/admin/base_site.html @@ -371,15 +371,19 @@ } */ - /*.inline-group .tabular tr.has_original td.original, */ + .inline-group .tabular thead th:last-child:not([class]):not([style]) { + text-align:right; + } + .inline-group .tabular tr td.delete { - vertical-align:middle !important; - text-align:center !important; + text-align:right; + padding-right:18px; } .inline-group .tabular tr td.delete a.inline-deletelink { - float:none; - display:inline-block; + margin-top:2px; + overflow:hidden; + text-indent:9999px; } /* improve django-modeltranslation support - https://github.com/deschler/django-modeltranslation/pull/313/commits */