toastr icon indicating copy to clipboard operation
toastr copied to clipboard

The default CSS class 'toast' gets overlapped by Bootstrap

Open nmenescardi opened this issue 4 years ago • 1 comments

  • Toastr Version: 1.2.3
  • Laravel Version: 7
  • PHP Version: 7.3

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

nmenescardi avatar Jun 09 '20 10:06 nmenescardi

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

akunbeben avatar Mar 20 '22 17:03 akunbeben

Thank you @nmenescardi for reporting the issue

yoeunes avatar Oct 25 '22 13:10 yoeunes