Skip to content

Commit

Permalink
Social Links: Fix font family and weight inconsistency in editor (#67204
Browse files Browse the repository at this point in the history
)

Added font-weight: inherit; and font-family: inherit; to the .wp-block-social-link-anchor class in the editor to ensure consistent font styling with the frontend.

Unlinked contributors: bgardner.

Co-authored-by: SainathPoojary <[email protected]>
Co-authored-by: akasunil <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: jordesign <[email protected]>
Co-authored-by: himanshupathak95 <[email protected]>
  • Loading branch information
6 people authored Nov 22, 2024
1 parent b58cce6 commit 58ae911
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/social-link/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
font-size: inherit;
color: currentColor;
height: auto;
font-weight: inherit;
font-family: inherit;

// This rule ensures social link buttons display correctly in template parts.
opacity: 1;
Expand Down

0 comments on commit 58ae911

Please sign in to comment.