banner: fix control placement with optionals disabled
This commit is contained in:
@@ -157,6 +157,7 @@
|
|||||||
<FramelessButton
|
<FramelessButton
|
||||||
inverted={invertFrameless}
|
inverted={invertFrameless}
|
||||||
onclick={() => controls.dismiss?.action?.(api)}
|
onclick={() => controls.dismiss?.action?.(api)}
|
||||||
|
class="ml-auto"
|
||||||
>
|
>
|
||||||
{#if controls.dismiss?.label}
|
{#if controls.dismiss?.label}
|
||||||
{controls.dismiss.label}
|
{controls.dismiss.label}
|
||||||
@@ -199,7 +200,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="flex justify-end gap-4">
|
<div class="ml-auto flex justify-end gap-4">
|
||||||
<!-- Decline button -->
|
<!-- Decline button -->
|
||||||
{@render buttonControl(controls.decline, handleDecline, false)}
|
{@render buttonControl(controls.decline, handleDecline, false)}
|
||||||
<!-- Accept button -->
|
<!-- Accept button -->
|
||||||
|
|||||||
Reference in New Issue
Block a user