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

[Workaround-ed] Width issue in firewall rules list: could be wider

Scheduled Pinned Locked Moved webGUI
7 Posts 4 Posters 2.0k 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.
  • C
    CDuv
    last edited by Sep 21, 2016, 12:25 PM Jun 3, 2016, 12:07 PM

    Since v2.3 I've realized some lists in the GUI (such as firewall rules) are width-restraint and uses horizontal scroll.
    Horizontal scroll is a good thing when not wanting to break UI interface, but restraining to fixed (small) width is not adapted to large displays: space is lost.

    In the following screenshot (from a 1920px wide display) we can see the horizontal scroll bars are there although there is still space for a wider table:

    Added to the "drag-n-drop" feature (to re-order rules): I cannot scroll without the scroll bar, which, on tables with many items, is not visible…

    Is there a way to change this behavior? Do not use scroll bars (and break the interface on very wide rows) or use larger width.

    1 Reply Last reply Reply Quote 0
    • N
      NOYB
      last edited by Jun 3, 2016, 9:40 PM

      Don't make such long unbreakable alias names.  Break the words with an underscore.  In the firewall rules, for display purpose only, underscore in alias names will be replaced with space.  Allowing line wrap.  Reducing the likelihood of needing the horizontal scrollbar.

      1 Reply Last reply Reply Quote 0
      • S
        Sharaz
        last edited by Jun 8, 2016, 6:30 PM

        well the problem is the scrollable area the scroll bar is at the bottom, you have to scroll allt he way down to reveal the side-side scroll.

        i have many IPsec tunnels, and when i have to scroll all the way down to be able to see the data at the far right, then scroll back up again to find it… its easy to lose your place, and have to scorll all the back down again so you can go back tot he left.

        if i open the window full screen, regardless of how long the titles of objects are... there should eventually be a resolution that allows everything to open out fully justified.

        this scrollable left-right area is very difficult to work with.

        Jonathan

        1 Reply Last reply Reply Quote 0
        • N
          NOYB
          last edited by Jun 10, 2016, 7:49 AM

          @Sharaz:

          this scrollable left-right area is very difficult to work with.

          Not with a touch screen.  Or with a mouse or pointer device the has horizontal scroll.

          1 Reply Last reply Reply Quote 0
          • C
            CDuv
            last edited by Jun 13, 2016, 12:29 AM

            @NOYB:

            Don't make such long unbreakable alias names.  Break the words with an underscore.  In the firewall rules, for display purpose only, underscore in alias names will be replaced with space.  Allowing line wrap.  Reducing the likelihood of needing the horizontal scrollbar.

            Thanks for the tip (didn't know undescores were replaces with spaces).
            That long unbreakable name had been automatically created by pfSense (some times ago), once renamed I still had width issues.

            I'm with Sharaz here: scrolling all the way down to scroll right and then scroll back up to finally discover what was hidden is counter productive.
            Adding to this that you cannot select text anymore because of drag-and-drop feature (but that's another topic…)

            In the end I edited the CSS file to set a "width: 100%" on the main container for large screen: works like a charm.

            1 Reply Last reply Reply Quote 1
            • C
              CDuv
              last edited by Aug 2, 2016, 1:54 PM

              Here is the shell command for anyone interested (tested on v2.3.2-RELEASE) :

              sed -e 's/@media (min-width:1200px){.container{width:1170px}}/@media (min-width:1200px){.container{width:100%}}/' -i '' /usr/local/www/vendor/bootstrap/css/bootstrap.min.css
              
              K 1 Reply Last reply Oct 19, 2021, 6:31 PM Reply Quote 1
              • K
                kevin.ruffus @CDuv
                last edited by Oct 19, 2021, 6:31 PM

                @cduv Tested on 2.5.2 and it still works, though I found 90% to be more aesthetically pleasing.
                Thank you for this, by the way, The limited screen usage for anything but the dashboard was slowly driving me nuts.

                Using percentages for widths should be the default anyway, given the wide range of display resolutions available today. It also allows for a more flexible interface, though admittedly it can cause some headaches to get it right.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received