diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index daf4699cac17..3a80e3a3c98e 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -893,11 +893,6 @@ a.deletelink:focus, a.deletelink:hover { } } -#footer { - clear: both; - padding: 10px; -} - /* COLUMN TYPES */ .colMS { diff --git a/django/contrib/admin/static/admin/css/responsive.css b/django/contrib/admin/static/admin/css/responsive.css index b9553415d71a..df426ed991b9 100644 --- a/django/contrib/admin/static/admin/css/responsive.css +++ b/django/contrib/admin/static/admin/css/responsive.css @@ -451,14 +451,10 @@ input[type="submit"], button { @media (max-width: 767px) { /* Layout */ - #header, #content, #footer { + #header, #content { padding: 15px; } - #footer:empty { - padding: 0; - } - div.breadcrumbs { padding: 10px 15px; } diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 1ca50e508d1d..f01a7ab61ce2 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -108,9 +108,9 @@
- {% block footer %}{% endblock %} + diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index 0cf249f3cf2a..9e8ff8c04999 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -348,6 +348,10 @@ Miscellaneous * In order to improve accessibility, the admin's changelist filter is now rendered in a ``