Page 1 of 1

Wordwrap in devices on dashboard

Posted: Friday 24 May 2024 9:35
by janpep
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.

Code: Select all

.status {
        /* 22-05-2024 Jan peppink, Modified to get wordwrap on dashboard.*/
        /*white-space: nowrap;*/
        white-space: normal;
}

Re: Wordwrap in devices on dashboard

Posted: Friday 24 May 2024 10:39
by waltervl
You can create a PR for this on the github repository on the developing branch so it will added to beta and later Stable.

Re: Wordwrap in devices on dashboard

Posted: Friday 24 May 2024 11:42
by janpep
Okay. Thanks for the tip!
I will see if I can find that.
But is it strange that I expected the 'suggestions forum' to be the place for suggestions? And that developers also read it?
There also might be a reason not to do this, which I have not thought of, that could be answered or discussed here.

Re: Wordwrap in devices on dashboard

Posted: Friday 24 May 2024 12:53
by waltervl
I hardly see any suggestions created on this forum implemented into changes on Domoticz unless a developer has the same issue or the requester implements it themselves.