From 7c37cc1122ce301b12cbab8767b97b9813fb98a8 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 15 Feb 2022 18:10:22 +0000 Subject: [PATCH] Administration: Fix a CSS issue on the Welcome Panel when the "Dashboard" heading is missing. This change adds a CSS exception for when the "Dashboard" heading is missing or located below the Welcome Panel. Props critterverse, sabernhardt, rolfsiebers, audrasjb. Fixes #54977. git-svn-id: https://develop.svn.wordpress.org/trunk@52735 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/dashboard.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index dcc1ac0144..e8f414a9f5 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -110,6 +110,11 @@ max-width: 100%; } +/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */ +.index-php #screen-meta-links { + margin: 0 20px 8px 0; +} + /* Welcome Panel */ .welcome-panel { position: relative; @@ -120,6 +125,7 @@ background-blend-mode: overlay; font-size: 14px; line-height: 1.3; + clear: both; } .welcome-panel::before {