wobsoriano/svelte-sonner

closeButton placed incorrectly

Closed this issue · 0 comments

Describe the bug

I updated from 0.3.11 --> 0.3.16 and the closebutton seems to be placed incorrectly now. This is in dev and in prod.

My Toaster component looks like this: <Toaster expand={true} richColors closeButton position="top-center" />

It looks like this:
image

Reproduction

Can be replicated by running 'Custom with properties' or 'close buttons (Visible)' toast from the vercel demo page: https://svelte-sonner.vercel.app/

Logs

No response

System Info

System:
    OS: Linux 5.15 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1335U
    Memory: 4.34 GB / 7.60 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 21.6.1 - ~/.nvm/versions/node/v21.6.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v21.6.1/bin/npm
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.5.0 
    svelte: ^4.2.7 => 4.2.10 
    svelte-sonner: ^0.3.16 => 0.3.16

Severity

annoyance