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

View File

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