fix: correct nesting of teasers in grid
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
<f:then>
|
||||
<f:if condition="{teasers -> f:count()} <= 2">
|
||||
<f:then>
|
||||
<f:for each="{teasers}" as="teaser" iteration="iteration">
|
||||
<div class="grid gap-y-4 md:gap-y-8">
|
||||
<f:for each="{teasers}" as="teaser" iteration="iteration">
|
||||
<f:render partial="Product/Teaser" section="Teaser" arguments="{
|
||||
landscape: 1,
|
||||
concept: teaser.concept,
|
||||
@@ -39,8 +39,8 @@
|
||||
globalConceptCode: settings.globalConceptCode,
|
||||
skiPassIncluded: teaser.skiPassIncluded
|
||||
}"/>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="flex items-center space-x-1 mb-2 sm:hidden">
|
||||
|
||||
Reference in New Issue
Block a user