openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
214 stars 235 forks source link

[Habpanel] Selection widget 5 columns not possible #105

Open Alluuu opened 4 years ago

Alluuu commented 4 years ago

When trying to create a 5 column HabPanel selection widget, it turns out just a single wide column, because the applied class is .col-sm-2.4 which doesn't evaluate to anything and is quite possibly illegal css due to the punctuation.

Fix would be to make an exception for 5 column widget to get a different class and add css style with 20% width for it.

I'm surprised that when I googled for this issue, I found nothing. Can I really be the first to try 5 column selection?

Alluuu commented 4 years ago

I'm sorry if I posted this into the incorrect repo, as I just realized this might be the repo for upcomming OpenHab 2.5, but I'm running 2.4, where I have this issue.

ghys commented 4 years ago

This is the correct repo, since the dedicated one for 2.4 and earlier has been archived. This is one of those "secretely known bugs" 😄 - it was not possible to skip the 5 columns in the number input. Thanks for the fix proposal.