You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toast does not wordwrap, it breaks the word on the edge of the screen and continues on the next line without wrapping. Wrapping the message in a div that explicitly wordwraps doesnt work.
Overriding the CSS works, not sure why this is in the CSS anyway.
.toast { word-break: normal !important; }
Steps to reproduce:
data.message = "A message of more than five or six words will look bad on mobile";
M.toast({html: '<div style="word-wrap: normal !important;">'+data.message+'</div>'});``
The text was updated successfully, but these errors were encountered:
Toast does not wordwrap, it breaks the word on the edge of the screen and continues on the next line without wrapping. Wrapping the message in a div that explicitly wordwraps doesnt work.
Overriding the CSS works, not sure why this is in the CSS anyway.
.toast { word-break: normal !important; }
Steps to reproduce:
The text was updated successfully, but these errors were encountered: