From 5008d59a2a8b9df09737fc05c9e343146a348a90 Mon Sep 17 00:00:00 2001 From: Sara Heins Date: Wed, 30 May 2018 03:52:51 +0200 Subject: [PATCH] Fixed #28892 -- Allowed admin navbar height to expand if needed. --- django/contrib/admin/static/admin/css/base.css | 6 ++++-- django/contrib/admin/static/admin/css/responsive.css | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index 6551e232a2..34c0b90e40 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -827,10 +827,12 @@ table#change-history tbody th { #header { width: auto; - height: 40px; + height: auto; + display: flex; + justify-content: space-between; + align-items: center; padding: 10px 40px; background: #417690; - line-height: 40px; color: #ffc; overflow: hidden; } diff --git a/django/contrib/admin/static/admin/css/responsive.css b/django/contrib/admin/static/admin/css/responsive.css index 05fd2c5123..5b0d1ec39b 100644 --- a/django/contrib/admin/static/admin/css/responsive.css +++ b/django/contrib/admin/static/admin/css/responsive.css @@ -38,11 +38,9 @@ input[type="submit"], button { /* Header */ #header { - display: flex; flex-direction: column; padding: 15px 30px; - height: auto; - line-height: 1; + justify-content: flex-start; } #branding h1 {