Skip to content

Commit

Permalink
apply button classes to ok and cancel buttons, fix #132
Browse files Browse the repository at this point in the history
  • Loading branch information
mskocik committed Sep 30, 2023
1 parent c486115 commit 7ea4359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/SveltyPicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@
<div class="sdt-btn-row">
{#if !autocloseSupported}
<span>
<button type="button" class="sdt-action-btn sdt-clear-btn" on:click={onCancel}>{i18n.cancelBtn}</button>
<button type="button" class="sdt-action-btn sdt-today-btn" on:click={() => onValueSet(true)}>{i18n.okBtn}</button>
<button type="button" class={clearBtnClasses} on:click={onCancel}>{i18n.cancelBtn}</button>
<button type="button" class={todayBtnClasses} on:click={() => onValueSet(true)}>{i18n.okBtn}</button>
</span>
{/if}
{#if todayBtn || clearBtn}
Expand Down

0 comments on commit 7ea4359

Please sign in to comment.