fix
All checks were successful
deploy to production / deploy (push) Successful in 35s

This commit is contained in:
2023-09-08 14:00:13 +00:00
parent 11062fc0fb
commit 1b8e5fed12
2 changed files with 54 additions and 51 deletions

View File

@@ -64,6 +64,7 @@
{#if row.subTitle}
<h3 class="subheading">{row.subTitle}</h3>
{/if}
{#if row?.columns?.length}
<div
class="row"
class:twoToThree="{row.twoToThree}"
@@ -111,7 +112,7 @@
{/if}
</div>
{/each}
</div>
</div>{/if}
{/if}
<style lang="less">

View File

@@ -39,6 +39,7 @@
initPage()
}
}
$: console.log(page?.rows, "==rows")
</script>
<div class="rows" class:HP="{path == '/'}">
@@ -48,9 +49,10 @@
<div
class="row"
id="row-{i}"
style="{path == '/' && i == page.rows.length - 1 ? 'padding-bottom: 300px;' : ''} {row.noBottomMargin
? 'margin-bottom: 0px;'
: ''} {row.noTopMargin ? 'margin-top: 0px;' : ''}"
style="{path == '/' && i == page.rows.length - 1 ? 'padding-bottom: 300px;' : ''} {row.row
.noBottomMargin
? 'margin-bottom: 0px; padding-bottom: 0px;'
: ''} {row.row.noTopMargin ? 'margin-top: 0px; padding-top: 0px;' : ''}"
>
{#if row.row.backgroundImage}
<div class="background-image">