Administration: Remove the smiley from overly happy "No activity yet!" message on Dashboard.
Props francoist, karmatosed, ibdz, estelaris, nrqsnchz, Presskopp. Fixes #48387. git-svn-id: https://develop.svn.wordpress.org/trunk@47592 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2370457175
commit
c9ba1876e1
@ -728,7 +728,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||||||
|
|
||||||
#dashboard_activity .no-activity {
|
#dashboard_activity .no-activity {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0 0 12px;
|
padding: 12px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -737,24 +737,6 @@ body #dashboard-widgets .postbox form .submit {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dashboard_activity .no-activity .smiley {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#dashboard_activity .no-activity .smiley:before {
|
|
||||||
content: "\f328";
|
|
||||||
font: normal 120px/1 dashicons;
|
|
||||||
speak: none;
|
|
||||||
display: block;
|
|
||||||
margin: 0 5px 0 0;
|
|
||||||
padding: 0;
|
|
||||||
text-indent: 0;
|
|
||||||
text-align: center;
|
|
||||||
position: relative;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
text-decoration: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#dashboard_activity .subsubsub {
|
#dashboard_activity .subsubsub {
|
||||||
float: none;
|
float: none;
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
|
@ -890,7 +890,6 @@ function wp_dashboard_site_activity() {
|
|||||||
|
|
||||||
if ( ! $future_posts && ! $recent_posts && ! $recent_comments ) {
|
if ( ! $future_posts && ! $recent_posts && ! $recent_comments ) {
|
||||||
echo '<div class="no-activity">';
|
echo '<div class="no-activity">';
|
||||||
echo '<p class="smiley" aria-hidden="true"></p>';
|
|
||||||
echo '<p>' . __( 'No activity yet!' ) . '</p>';
|
echo '<p>' . __( 'No activity yet!' ) . '</p>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user