Skip to content

Commit

Permalink
Fix: prevent background images to be rendered also in column at a one…
Browse files Browse the repository at this point in the history
…ColumnLayout
  • Loading branch information
Florian Hartl committed Apr 3, 2024
1 parent 674d5ef commit 20fad31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Resources/Private/Fusion/Helper/VisualStyles.fusion
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
prototype(TechDivision.NodeTypes.FlexColumnLayouts:Helper.VisualStyles) < prototype(Neos.Fusion:Join) {
ignoreStyles = false
backgroundColor = Neos.Fusion:Value {
value = ${'background-color:' + q(node).property('backgroundColor') + ';'}
@if.exists = ${q(node).property('backgroundColor')}
Expand All @@ -14,5 +13,4 @@ prototype(TechDivision.NodeTypes.FlexColumnLayouts:Helper.VisualStyles) < protot
@process.wrap = ${'background-image:url(' + value + ');background-repeat:no-repeat; background-position:center center;'}
@if.exists = ${q(node).property('backgroundImage')}
}
@if.shouldUsed = ${!this.ignoreStyles}
}

0 comments on commit 20fad31

Please sign in to comment.