Skip to content

Commit

Permalink
fix desktop column wrap in feature block
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkae committed Sep 2, 2024
1 parent df6491f commit 6419839
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/block/feature/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ blockStyles.addBlockStyles( 'rowGap', [ {
responsive: 'all',
} ] )

blockStyles.addBlockStyles( 'columnWrapDesktop', [ {
renderIn: 'save',
styleRule: '--stk-feature-flex-wrap',
attrName: 'columnWrapDesktop',
key: 'columnWrapDesktop-save',
valueCallback: value => {
return value ? 'wrap' : 'nowrap'
},
} ] )

Alignment.Style.addStyles( blockStyles )
BlockDiv.Style.addStyles( blockStyles )
ContainerDiv.Style.addStyles( blockStyles )
Expand Down

0 comments on commit 6419839

Please sign in to comment.