Update InlineAlert with additional spacing around button
This commit is contained in:
parent
5abdd102a9
commit
48464b2fe3
|
@ -39,13 +39,16 @@
|
||||||
<div class="spectrum-InLineAlert-content">{splitMsg}</div>
|
<div class="spectrum-InLineAlert-content">{splitMsg}</div>
|
||||||
{/each}
|
{/each}
|
||||||
{#if onConfirm}
|
{#if onConfirm}
|
||||||
<div class="spectrum-InLineAlert-footer">
|
<div class="spectrum-InLineAlert-footer button">
|
||||||
<Button secondary on:click={onConfirm}>OK</Button>
|
<Button secondary on:click={onConfirm}>OK</Button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.button {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
.spectrum-InLineAlert {
|
.spectrum-InLineAlert {
|
||||||
--spectrum-semantic-negative-border-color: #e34850;
|
--spectrum-semantic-negative-border-color: #e34850;
|
||||||
--spectrum-semantic-positive-border-color: #2d9d78;
|
--spectrum-semantic-positive-border-color: #2d9d78;
|
||||||
|
|
Loading…
Reference in New Issue