Skip to content

Commit

Permalink
BUGFIX: add custom class to Row
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaip authored May 14, 2017
1 parent c5fe335 commit f0c1db4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
prototype(Sfi.Grid:Row) < prototype(Neos.Fusion:Tag) {
attributes.class = ${'row ' + q(node).property('large')}
attributes.class = ${'row ' + q(node).property('large') + ' ' + q(node).property('additionalClass')}
content = Neos.Neos:ContentCollectionRenderer
# Add contentElementWrapping so it would be possible to edit row's properties
@process.contentElementWrapping = Neos.Neos:ContentElementWrapping
}

prototype(Sfi.Grid:Column) < prototype(Neos.Fusion:Tag) {
iterator = ${iterator}
attributes.class = ${'columns ' + q(node).property('large') +' '+ q(node).property('medium') +' '+ q(node).property('small') +' '+ q(node).property('largeOffset') +' '+ q(node).property('mediumOffset') +' '+ q(node).property('smallOffset') + ' ' + q(node).property('additionalClass')}
attributes.class = ${'columns ' + q(node).property('large') + ' ' + q(node).property('medium') + ' ' + q(node).property('small') + ' ' + q(node).property('largeOffset') + ' ' + q(node).property('mediumOffset') + ' ' + q(node).property('smallOffset') + ' ' + q(node).property('additionalClass')}
content = Neos.Neos:ContentCollectionRenderer
# Add contentElementWrapping so it would be possible to edit column's properties
@process.contentElementWrapping = Neos.Neos:ContentElementWrapping
}
}

0 comments on commit f0c1db4

Please sign in to comment.