diff --git a/README.md b/README.md index dcffa05..bb7e285 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Let's party 🎊🎊 with Svelte! svelte-confetti-explosion allows you to show a - 🗃️ Highly customizable - Offers tons of options that you can modify to get different behaviors. - 🖥️ SSR friendly - Works seamlessly in Sveltekit and other Server Side Rendering environments! -[Try it in Svelte REPL](https://svelte.dev/repl/4e41a080739a4427a1f2c98b7f5d4b24?version=3.44.2) +[Try it in Svelte REPL](https://svelte.dev/repl/4e41a080739a4427a1f2c98b7f5d4b24) ## Installing diff --git a/package.json b/package.json index b706d3c..c10e56f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-confetti-explosion", - "version": "0.4.0", + "version": "0.4.1", "description": "Confetti explosion in Svelte 🎉🎊", "author": "Puru Vijay", "license": "MIT", diff --git a/src/lib/ConfettiExplosion.svelte b/src/lib/ConfettiExplosion.svelte index ab57247..e47021b 100644 --- a/src/lib/ConfettiExplosion.svelte +++ b/src/lib/ConfettiExplosion.svelte @@ -337,7 +337,8 @@ div { position: absolute; - inset: 0; + top: 0; + left: 0; animation: y-axis var(--duration-chaos) forwards cubic-bezier(var(--y1), var(--y2), var(--y3), var(--y4));