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