1
0
Fork 0
mirror of synced 2024-07-17 12:15:59 +12:00

Update InlineAlert with additional spacing around button

This commit is contained in:
Rory Powell 2022-09-11 20:25:51 +01:00
parent 5abdd102a9
commit 48464b2fe3

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;