Skip to content

Commit 0068286

Browse files
committed
Expose --toastMsgPadding and remove --toastFont
1 parent 00ef44f commit 0068286

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ToastItem.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ $: if (prevProgress !== item.progress) {
3737
-webkit-tap-highlight-color: transparent;
3838
}
3939
._toastMsg {
40-
font: var(--toastFont);
4140
flex: 1 1 0%;
42-
padding: 0 0.5rem;
41+
padding: var(--toastMsgPadding,0.5rem);
4342
}
4443
._toastBtn {
4544
width: 2rem;

0 commit comments

Comments
 (0)