f3oall / awesome-notifications

Lightweight JavaScript Notifications Library
https://f3oall.github.io/awesome-notifications/
MIT License
292 stars 40 forks source link

allow simultaneous toasts to have different lengths #61

Open cyberic99 opened 11 months ago

cyberic99 commented 11 months ago

Is your feature request related to a problem? Please describe.

I tried to customise the css a bit but could not achieve what I wanted

Describe the solution you'd like

I'd like to allow different toasts to have different lengths

Additional context

What I get right now:

image

what I'd like to have: (the toasts currently have the “bottom-right” position)

image

now it seems that all toasts have their lengths adjusted to the longest one

Is it possible to achieve something like the second picture, even by modifying the stylesheet ?

Thank you for this library !