From 139dcff017678565abe5269ee0956f614af447ed Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 2 Sep 2024 14:18:51 -0400 Subject: [PATCH] Pledge teams: Enqueue dashicons font for badges --- themes/wporg-5ftf-2024/functions.php | 2 +- themes/wporg-5ftf-2024/src/pledge-teams/style.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/wporg-5ftf-2024/functions.php b/themes/wporg-5ftf-2024/functions.php index 43cf6f8..6ff3007 100644 --- a/themes/wporg-5ftf-2024/functions.php +++ b/themes/wporg-5ftf-2024/functions.php @@ -40,7 +40,7 @@ function enqueue_assets() { wp_enqueue_style( 'wporg-5ftf-2024', get_theme_file_uri( 'build/style/style-index.css' ), - array( 'wporg-parent-2021-style', 'wporg-global-fonts' ), + array( 'wporg-parent-2021-style', 'wporg-global-fonts', 'dashicons' ), $metadata['version'] ); } diff --git a/themes/wporg-5ftf-2024/src/pledge-teams/style.scss b/themes/wporg-5ftf-2024/src/pledge-teams/style.scss index e78f3d6..00ca345 100644 --- a/themes/wporg-5ftf-2024/src/pledge-teams/style.scss +++ b/themes/wporg-5ftf-2024/src/pledge-teams/style.scss @@ -35,7 +35,7 @@ } /* Copied from the profiles.wordpress.org theme stylesheet, minor formatting edits. */ -.badge { +.wp-block-wporg-pledge-teams .badge { margin: 4px; width: 32px; height: 32px;