Skip to content

Commit

Permalink
Admin bar: fix icon colors on site frontend (#39014)
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar authored Aug 23, 2024
1 parent 58080fd commit ba27cab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Admin bar: fix icon colors on site frontend
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function wpcom_enqueue_admin_bar_assets() {
);
}

$admin_color = get_user_option( 'admin_color' );
$admin_color = is_admin() ? get_user_option( 'admin_color' ) : 'fresh';
$admin_icon_color = WPCOM_ADMIN_ICON_COLORS[ $admin_color ] ?? WPCOM_ADMIN_ICON_COLORS['fresh'];

// Force the icon colors to have desktop color even on mobile viewport.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,8 @@

#wp-admin-bar-help-center {
display: block !important;
width: 52px !important;
width: 49px !important;
margin-right: 0 !important;
.ab-item {
width: 52px;
}
}

#wp-admin-bar-notes {
Expand Down

0 comments on commit ba27cab

Please sign in to comment.