Skip to content

Commit

Permalink
Merge pull request #616 from frzsombor/allow-typo-custom-mb
Browse files Browse the repository at this point in the history
Tweak: Allow setting margin-bottom on custom typography targets
  • Loading branch information
iansvo authored Jul 8, 2024
2 parents 3cfa91f + 5d53a46 commit faab7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/customizer-controls/font-manager/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const getPlaceholder = ( settings, property ) => {
};

const selectorHasMarginBottom = ( selector ) => {
return [ 'body', 'all-headings', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'widget-titles' ].includes( selector );
return [ 'body', 'all-headings', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'widget-titles', 'custom' ].includes( selector );
};

const getElementGroups = () => {
Expand Down

0 comments on commit faab7cd

Please sign in to comment.