Wordwrap in devices on dashboard
Posted: Friday 24 May 2024 9:35
I had a problem with the readability of longer lines in text and alert devices.
Under Utility tab there is a wordwrap and text goes to the next line.
Under Dashboard tab this is not the case.
I found a workaround by changing /pathtodomoticz/www/css/styles.css.
See topic: Incomplete text shown on dashboard
I guess this shall be overwritten by next update.
Therefore my suggestion to implement this.
I can not think of a good reason to have the 'nowrap' that makes the rest of a longer sentence invisible.
Until now I do not see unexpected or unwanted side effects.
Under Utility tab there is a wordwrap and text goes to the next line.
Under Dashboard tab this is not the case.
I found a workaround by changing /pathtodomoticz/www/css/styles.css.
See topic: Incomplete text shown on dashboard
I guess this shall be overwritten by next update.
Therefore my suggestion to implement this.
I can not think of a good reason to have the 'nowrap' that makes the rest of a longer sentence invisible.
Until now I do not see unexpected or unwanted side effects.
Code: Select all
.status {
/* 22-05-2024 Jan peppink, Modified to get wordwrap on dashboard.*/
/*white-space: nowrap;*/
white-space: normal;
}