Update form block styles to expect a header when buttons are defined
This commit is contained in:
parent
d7c5b81fd3
commit
d12b20bd95
|
@ -158,20 +158,18 @@
|
||||||
type="container"
|
type="container"
|
||||||
props={{
|
props={{
|
||||||
direction: "row",
|
direction: "row",
|
||||||
hAlign: title ? "stretch" : "right",
|
hAlign: "stretch",
|
||||||
vAlign: "center",
|
vAlign: "center",
|
||||||
gap: "M",
|
gap: "M",
|
||||||
wrap: true,
|
wrap: true,
|
||||||
}}
|
}}
|
||||||
order={0}
|
order={0}
|
||||||
>
|
>
|
||||||
{#if title}
|
<BlockComponent
|
||||||
<BlockComponent
|
type="heading"
|
||||||
type="heading"
|
props={{ text: title || "" }}
|
||||||
props={{ text: title }}
|
order={0}
|
||||||
order={0}
|
/>
|
||||||
/>
|
|
||||||
{/if}
|
|
||||||
{#if renderButtons}
|
{#if renderButtons}
|
||||||
<BlockComponent
|
<BlockComponent
|
||||||
type="container"
|
type="container"
|
||||||
|
|
Loading…
Reference in New Issue