From 0dd3bd3b8bd95eaf4fd94477e1fa25760d2e7c92 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 28 Jul 2020 17:06:52 +0000 Subject: [PATCH] Administration: Correct alignment of the "PHP Update Required" dashboard box title. Restore one instance of `!important` CSS rule for backward compatibility. Follow-up to [48129], [48373]. Props whyisjake, sabernhardt, TimothyBlynJacobs, SergeyBiryukov. Fixes #50788. git-svn-id: https://develop.svn.wordpress.org/trunk@48671 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/common.css | 2 +- src/wp-admin/css/dashboard.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 10e8b2bdb8..047a4d156c 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -2089,7 +2089,7 @@ html.wp-toolbar { .postbox .inside > p:last-child, .rss-widget ul li:last-child { - margin-bottom: 1px; + margin-bottom: 1px !important; } .postbox.closed h3 { diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index f898143ec1..f48320b5c4 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -1084,6 +1084,10 @@ a.rsswidget { color: #df3232; } +#dashboard_php_nag h2 { + display: inline-block; +} + #dashboard_php_nag p { margin: 12px 0; }