Update form block styles to expect a header when buttons are defined

This commit is contained in:
Andrew Kingston 2022-08-25 09:25:30 +01:00
parent d7c5b81fd3
commit d12b20bd95
1 changed files with 6 additions and 8 deletions

View File

@ -158,20 +158,18 @@
type="container"
props={{
direction: "row",
hAlign: title ? "stretch" : "right",
hAlign: "stretch",
vAlign: "center",
gap: "M",
wrap: true,
}}
order={0}
>
{#if title}
<BlockComponent
type="heading"
props={{ text: title }}
props={{ text: title || "" }}
order={0}
/>
{/if}
{#if renderButtons}
<BlockComponent
type="container"