From 1a1fbbc7928e7b32f7357edcc6a98f09ace5ae92 Mon Sep 17 00:00:00 2001 From: Ben Ritner Date: Wed, 8 Jan 2025 11:06:58 -0700 Subject: [PATCH] remove what is not needed --- src/blocks/advancedheading/edit.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/blocks/advancedheading/edit.js b/src/blocks/advancedheading/edit.js index ccbf8d25d..94b14e970 100644 --- a/src/blocks/advancedheading/edit.js +++ b/src/blocks/advancedheading/edit.js @@ -1011,18 +1011,6 @@ function KadenceAdvancedHeading(props) { ? `${previewHOffset}px ${previewVOffset}px ${previewBlur}px ${KadenceColorOutput( previewColorTextShadow )}` - : textShadow[0].enable && previewDevice === 'Tablet' - ? `${textShadow[0].hOffset}px ${textShadow[0].vOffset}px ${ - textShadow[0].blur - }px ${KadenceColorOutput(textShadow[0].color)}` - : textShadowTablet[0].enable && previewDevice === 'Mobile' - ? `${textShadowTablet[0].hOffset}px ${textShadowTablet[0].vOffset}px ${ - textShadowTablet[0].blur - }px ${KadenceColorOutput(textShadowTablet[0].color)}` - : textShadow[0].enable && previewDevice === 'Mobile' - ? `${textShadow[0].hOffset}px ${textShadow[0].vOffset}px ${ - textShadow[0].blur - }px ${KadenceColorOutput(textShadow[0].color)}` : undefined, }} placeholder={__('Write something…', 'kadence-blocks')}