Skip to content

Commit

Permalink
Fix code style issues with ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Jan 23, 2025
1 parent 769acc6 commit 204db46
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/blocks/advancedheading/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1013,8 +1013,20 @@ function KadenceAdvancedHeading(props) {
previewColorTextShadow
)}`
: undefined,
writingMode: textOrientation === 'horizontal' ? '' : textOrientation === 'stacked' || textOrientation === 'sideways-down' ? 'vertical-lr' : textOrientation === 'sideways-up'? 'sideways-lr' : '',
textOrientation: textOrientation === 'horizontal' || textOrientation === 'sideways-down' ? '' : textOrientation === 'stacked' ? 'upright' : '',
writingMode:
textOrientation === 'horizontal'
? ''
: textOrientation === 'stacked' || textOrientation === 'sideways-down'
? 'vertical-lr'
: textOrientation === 'sideways-up'
? 'sideways-lr'
: '',
textOrientation:
textOrientation === 'horizontal' || textOrientation === 'sideways-down'
? ''
: textOrientation === 'stacked'
? 'upright'
: '',
}}
placeholder={__('Write something…', 'kadence-blocks')}
/>
Expand Down

0 comments on commit 204db46

Please sign in to comment.