polonel/SnackBar

How add customClass ?

calonzolg opened this issue · 1 comments

hello Chris,
i'm using the key: customClass for put font into bold, but only affect the dismiss message

image

image

want the font bold that is on the black square,

have a nice day,

PS: my english is not good sorry :s

The customClass is targeted for the snacker container. Which means you can use the customClass on the container to target the child element you wish you change. You may have to append the css !important tag.

So in your case you could target the p element with...

.myCustomClass p {
   font-weight: bold !important;
}