Revers footer in Dialog (#60)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2021-08-25 15:43:41 +03:00 committed by GitHub
parent 0930f86b27
commit e38b5db2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,8 +41,8 @@
<ScrollBox vertical stretch><slot /></ScrollBox>
</div>
<div class="footer">
<Button label={'Cancel'} on:click={() => { dispatch('close') }} />
<Button label={okLabel} primary />
<Button label={'Cancel'} on:click={() => { dispatch('close') }} />
</div>
</form>
</div>
@ -99,7 +99,8 @@
flex-shrink: 0;
display: grid;
grid-auto-flow: column;
justify-content: end;
direction: rtl;
justify-content: start;
align-items: center;
column-gap: .75rem;
padding: 0 2.5rem;