Skip to content

Commit c0dea0a

Browse files
committed
Correctly center btn contents
1 parent a6d50c5 commit c0dea0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ToastItem.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@ onDestroy(() => {
135135
._toastBtn {
136136
width: var(--toastBtnWidth, 2rem);
137137
height: var(--toastBtnHeight, 100%);
138-
font: var(--toastBtnFont, 1rem sans-serif);
139-
display: flex;
140-
align-items: center;
141-
justify-content: center;
142138
cursor: pointer;
143139
outline: none;
144140
}
145141
._toastBtn::after {
146142
content: var(--toastBtnContent, '');
143+
font: var(--toastBtnFont, 1rem sans-serif);
144+
display: flex;
145+
align-items: center;
146+
justify-content: center;
147147
}
148148
._toastBar {
149149
top: var(--toastBarTop, auto);

0 commit comments

Comments
 (0)