Update InlineAlert with additional spacing around button

This commit is contained in:
Rory Powell 2022-09-11 20:25:51 +01:00
parent 6e1a30bc60
commit ae2f199807
1 changed files with 4 additions and 1 deletions

View File

@ -39,13 +39,16 @@
<div class="spectrum-InLineAlert-content">{splitMsg}</div>
{/each}
{#if onConfirm}
<div class="spectrum-InLineAlert-footer">
<div class="spectrum-InLineAlert-footer button">
<Button secondary on:click={onConfirm}>OK</Button>
</div>
{/if}
</div>
<style>
.button {
margin-top: 10px;
}
.spectrum-InLineAlert {
--spectrum-semantic-negative-border-color: #e34850;
--spectrum-semantic-positive-border-color: #2d9d78;