Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dashboard column spacing broken?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 233 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mvikman
      last edited by

      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 tag

      4 columns
      Opera Snapshot_2024-10-01_133528_192.168.20.1.png

      5 columns
      Opera Snapshot_2024-10-01_133735_192.168.20.1.png

      6 columns
      Opera Snapshot_2024-10-01_133851_192.168.20.1.png

      pfSense Plus 24.11-RELEASE (amd64)
      Dell Optiplex 7040 SFF
      Core i5-6500, 8GB RAM, 2x 240GB SSD (ZFS Mirror)
      HPE 561T (X540-AT2), 2-port 10Gb RJ45
      HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yup confirmed: https://redmine.pfsense.org/issues/15757

        Steve

        M 1 Reply Last reply Reply Quote 0
        • M
          mvikman @stephenw10
          last edited by

          @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

          pfSense Plus 24.11-RELEASE (amd64)
          Dell Optiplex 7040 SFF
          Core i5-6500, 8GB RAM, 2x 240GB SSD (ZFS Mirror)
          HPE 561T (X540-AT2), 2-port 10Gb RJ45
          HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

          1 Reply Last reply Reply Quote 1
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            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 ๐Ÿ˜‰

            1 Reply Last reply Reply Quote 0
            • M
              mvikman
              last edited by

              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.

              pfSense Plus 24.11-RELEASE (amd64)
              Dell Optiplex 7040 SFF
              Core i5-6500, 8GB RAM, 2x 240GB SSD (ZFS Mirror)
              HPE 561T (X540-AT2), 2-port 10Gb RJ45
              HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

              1 Reply Last reply Reply Quote 1
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Yeah, I'm probably out of date. Again!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.