Skip to content

Commit

Permalink
Merge pull request #125 from TYPO3incubator/bugfix/textmedia
Browse files Browse the repository at this point in the history
[BUGFIX] Show text in full width when there is no image
  • Loading branch information
pixeldesu authored Apr 12, 2024
2 parents f8f3d5f + a8498e2 commit 2dc0ca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<f:render partial="Header/All" arguments="{_all}" />
</f:if>

<div class="ce-textpic ce-{gallery.position.horizontal} ce-{gallery.position.vertical}{f:if(condition: gallery.position.noWrap, then: ' ce-nowrap')}">
<div class="ce-textpic {f:if(condition:'{gallery.rows -> f:count()} > 0', then:'ce-{gallery.position.horizontal} ce-{gallery.position.vertical}')} {f:if(condition: gallery.position.noWrap, then: ' ce-nowrap')}">
<f:if condition="{gallery.position.vertical} != 'below'">
<f:render partial="Media/Gallery" arguments="{_all}" />
</f:if>
Expand Down

0 comments on commit 2dc0ca4

Please sign in to comment.