I am trying to get the text in growl to wrap using primeng 4.0.1. Specifically, I'm putting a file path into the growl, and it's such a long file path that it doesn't fit on one line. I just want it to wrap to the next line, but it won't do that.
I have tried a number of things. First, I tried modifying the css. Second, I tried creating a div to hold the growl and creating a style class for that div, setting word-wrap to bread-word and overflow-wrap to break-word.
Originally, I had no css for the growl. The css I added (below) will change the text color successfully, but it seems word-wrap and overflow-wrap do not work as they should.
overflow-wrap: break-word !important;
html looks like this:
<p-growl [(value)]="msgs" sticky="false"></p-growl>
Also, this topic is related but did not ultimately work for me.
viewtopic.php?f=35&t=49311&p=152120&hil ... rd#p152120
UI Components for Angular
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests