Skip to content

Commit

Permalink
Manually set Snapchat label color. (#51237)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiego authored Jun 6, 2023
1 parent cde86e6 commit 95336bf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-library/src/social-links/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,13 @@
padding-right: calc((2/3) * 1em);
}
}

// Ensure the Snapchat label is visible when no custom
// icon color or background color is set.
.wp-block-social-links:not(.has-icon-color):not(.has-icon-background-color) {
.wp-social-link-snapchat {
.wp-block-social-link-label {
color: #000;
}
}
}

1 comment on commit 95336bf

@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 95336bf.
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/5188774232
📝 Reported issues:

Please sign in to comment.