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

    Rules Overflow Scroll

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    1 Posts 1 Posters 770 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.
    • N
      NOYB
      last edited by

      Use a lot of alias and some of them are long enough that certain combinations of src src port, dst dst port, etc. cause the firewall rules and nat overflow and scroll horizontally.
      Not such a big deal but it's gets old having to scroll over to access the control buttons.

      So been experimenting how to line wrap on underscore (the long aliases all have at least one underscore).

      Have come up with a couple of possible solutions.

      1. Replace the underscores with space in the html output.  (currently like this one the best)
      2. Insert zero width space (entity ​) after underscores.

      Is this a feature anyone else would also be interested in?

      Currently I'm just using a str_replace in the php.
      https://github.com/NOYB/pfsense/commit/39f46428a66bd44ee4801995d83be4301bf5924b

      If there is wide enough interest perhaps it could be done with a class.

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