Update form block styles to expect a header when buttons are defined
This commit is contained in:
parent
10a251f1f6
commit
daff5b173e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue