Dashboard column spacing broken?
-
I'm using pfSense-dark theme with 4 Dashboard columns, tried to add one more and looks like 5 columns is using widths and margins from 6 column setting.
Opera and FireFox behave the same way.Can someone test this, if 5 columns setting is bugged or is it just my system...?
Screenshots in the spoiler tag4 columns
5 columns
6 columns
-
Yup confirmed: https://redmine.pfsense.org/issues/15757
Steve
-
@stephenw10
It's probably this one...
12/5= 2,4 so I'm guessing it rounds it down to 2, which would be same as 12/6?$columnWidth = (int) (12 / $numColumns);
https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/index.php#L370
-
Yes, probably. Arguably there shouldn't be as many options. I can't imagine there are many people running 6 columns. Or 5 for that matter
-
I did want to try 5 to see if I could fit all on one screen without the need to scroll down.
Also if you have one of those ultrawide monitors, you have much more space horizontally. -
Yeah, I'm probably out of date. Again!