# Flash message is single line only

**URL:** <https://discourse.cakephp.org/t/flash-message-is-single-line-only/5947>\
**Category:** Need Help\
**Created:** [April 16, 2019, 5:24pm UTC](https://discourse.cakephp.org/t/flash-message-is-single-line-only/5947 "2019-04-16T17:24:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ole](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@ole](https://discourse.cakephp.org/u/ole)\
**Post date:** [April 16, 2019, 5:24pm UTC](https://discourse.cakephp.org/t/flash-message-is-single-line-only/5947/1 "2019-04-16T17:24:45Z")

</div>

Hi,

my flash messages are only single-lines. If the space on a mobile device becomes too small, there is no dynamic line break…  
Does anyone have an idea how I can make this dynamic? Dynamic line breaks?

THX Ole

---

<div class="post-metadata">

**Author:** ![spadeX](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@spadeX](https://discourse.cakephp.org/u/spadeX)\
**Post date:** [April 17, 2019, 5:15am UTC](https://discourse.cakephp.org/t/flash-message-is-single-line-only/5947/2 "2019-04-17T05:15:02Z")

</div>

Hello ole, You should formatting your errors by following files.  
src/template/element/flash/ in that flash messages files which can you modified as your convenience.  
hope you understand…!!

---

<div class="post-metadata">

**Author:** ![ole](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@ole](https://discourse.cakephp.org/u/ole)\
**Post date:** [April 17, 2019, 11:01am UTC](https://discourse.cakephp.org/t/flash-message-is-single-line-only/5947/3 "2019-04-17T11:01:45Z")

</div>

Hi spadeX,  
i changed the height of message class.  
Now it works fine 👍  
Thx
