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