Skip to content

Commit

Permalink
Reduce specifity of social link icon specific colors (#63049)
Browse files Browse the repository at this point in the history
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: bgardner <bgardner@git.wordpress.org>
  • Loading branch information
4 people authored Jul 2, 2024
1 parent e299c1f commit c56aa97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/social-links/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}

// Provide colors for a range of icons.
.wp-block-social-links:not(.is-style-logos-only) {
:where(.wp-block-social-links:not(.is-style-logos-only)) {
// Generic items such as mail, feed, etc.
@import "../social-link/socials-with-bg.scss";
}
Expand All @@ -116,7 +116,7 @@
// The specificity for this selector has not been reduced to 0-1-0 as per
// global styles variation selectors as the lack of background should be
// enforced for this block style.
.wp-block-social-links.is-style-logos-only {
:where(.wp-block-social-links.is-style-logos-only) {
.wp-social-link {
background: none;

Expand Down

1 comment on commit c56aa97

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in c56aa97.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9762231029
📝 Reported issues:

Please sign in to comment.