Flash error message issue

Hi,

I’m new to Cakephp and developing an app in version 3.3. I’m happy because of the the ease of development and solid framework support. The only issue I encountered is when I use $this->Flash to set a success or error message and it renders on a mobile screen size, the result clips off the screen. There is no way for the user to see the full message.

I’ve tried to insert \n and then
into the message, but it didn’t work. I then investigated the css of the flash message divs, but couldn’t get a clue.

I would like the flash message/error panel to span multiple lines if the text inside it is too long to fit in the width of screen.

Any help will be appreciated!