From 5d53a4676b79e73a800d655e5215cea4b979ac32 Mon Sep 17 00:00:00 2001 From: Zsombor Franczia Date: Mon, 10 Jun 2024 22:45:04 +0200 Subject: [PATCH] Tweak: Allow setting margin-bottom on custom typography targets --- src/customizer-controls/font-manager/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/customizer-controls/font-manager/utils.js b/src/customizer-controls/font-manager/utils.js index 7d14e292..b02af944 100644 --- a/src/customizer-controls/font-manager/utils.js +++ b/src/customizer-controls/font-manager/utils.js @@ -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 = () => {