yoeunes / toastr

:eyes: toastr.js notifications for Laravel
https://php-flasher.io
MIT License
375 stars 52 forks source link

The default CSS class 'toast' gets overlapped by Bootstrap #21

Closed nmenescardi closed 1 year ago

nmenescardi commented 4 years ago

Description:

The default CSS class 'toast', used by default, gets overridden for the same class used by Bootstrap. So, Bootstrap adds extra styles that breaks Toastr boxes.

I was able to solve it adding a config/toastr.php file and using another class, like: 'toastClass' => 'toastr'

Steps To Reproduce:

Just installing Bootstrap and Toastr, and firing any msg

akunbeben commented 2 years ago

nice catch man, I was trying to figure it out and makes me confused for a while

yoeunes commented 1 year ago

Thank you @nmenescardi for reporting the issue