Ahh, forgot to mention I am using a toastController
and setting cssClass
to toast-bottom
so it’s a custom class.
const myToastController = await toastController.create({
message: toast.message,
color: this.getColorFromType(toast.type),
buttons: buttons,
position: 'bottom',
duration: toast.duration,
cssClass: 'toasts-bottom',
})
To modify the Shadow DOM try the code I posted over here - Ionic change causes css to stop working - any way to modify shadow dom to fix it? - #4 by twestrick.