Skip to content

Commit 18e9b9a

Browse files
committed
Site Health: Update the icon used when no issues are reported.
The icon used to be a rather blocky checkmark, but has now been changed to the more friendly, and less ambiguous, smiley dashicon. It also helps cover a rare cases where a checkmark, while often used to mark something as done, may also be used to indicate that something is incorrect (many thanks to my 6th grade teacher for this rationale). As an added bonus, this commit also adjusts the margins used around the icon, to make it fit more nicely on both large and small viewports. Props sabernhardt, generosus. Fixes #53980. git-svn-id: https://develop.svn.wordpress.org/trunk@52018 602fd350-edb4-49c9-b593-d223f7449a82
1 parent ca7450d commit 18e9b9a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/wp-admin/css/site-health.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,12 @@ are styled in the Privacy section of edit.css */
249249
text-align: center;
250250
height: 100%;
251251
width: 100%;
252-
margin-top: 0;
252+
margin: 0 0 3rem;
253253
}
254254

255255
@media all and (min-width: 784px) {
256256
.site-status-all-clear {
257-
margin: 5rem 0;
257+
margin: 2rem 0 5rem;
258258
}
259259
}
260260

@@ -264,7 +264,8 @@ are styled in the Privacy section of edit.css */
264264

265265
.site-status-all-clear .dashicons {
266266
font-size: 150px;
267-
height: 130px;
267+
height: 150px;
268+
margin-bottom: 2rem;
268269
width: 150px;
269270
}
270271

src/wp-admin/site-health.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
<div class="health-check-body health-check-status-tab hide-if-no-js">
201201
<div class="site-status-all-clear hide">
202202
<p class="icon">
203-
<span class="dashicons dashicons-yes"></span>
203+
<span class="dashicons dashicons-smiley" aria-hidden="true"></span>
204204
</p>
205205

206206
<p class="encouragement">

0 commit comments

Comments
 (0)