Skip to content

Commit

Permalink
Include has-visible-labels on edit component (#42791)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwollison authored Jul 31, 2022
1 parent fba021a commit 5bfc80b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/social-links/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export function SocialLinksEdit( props ) {
// Fallback color values are used maintain selections in case switching
// themes and named colors in palette do not match.
const className = classNames( size, {
'has-visible-labels': showLabels,
'has-icon-color': iconColor.color || iconColorValue,
'has-icon-background-color':
iconBackgroundColor.color || iconBackgroundColorValue,
Expand Down

0 comments on commit 5bfc80b

Please sign in to comment.