Skip to content

Commit 9ae347b

Browse files
committed
Actually add _toastContainer class to container
1 parent 3ce85c0 commit 9ae347b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SvelteToast.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const getCss = theme => Object.keys(theme).reduce((a, c) => `${a}${c}:${theme[c]
1616
</script>
1717

1818
<style>
19-
ul {
19+
._toastContainer {
2020
top: var(--toastContainerTop,1.5rem);
2121
right: var(--toastContainerRight,2rem);
2222
bottom: var(--toastContainerBottom,auto);
@@ -30,7 +30,7 @@ ul {
3030
}
3131
</style>
3232

33-
<ul>
33+
<ul class="_toastContainer">
3434
{#each items as item (item.id)}
3535
<li in:fly={item.intro} out:fade animate:flip={{ duration: 200 }} style={getCss(item.theme)}>
3636
<ToastItem {item} />

0 commit comments

Comments
 (0)