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

    Interfaces Dashboard Widget - Font Size Too Large

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 1.2k 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.
    • P
      priller
      last edited by

      It appears that there was a increase in the the font size used in the Interfaces dashboard widget in 2.2.

      This results in long IPv6 address pushing the widget "out of bounds" (see attached).

      This appears on all the various browsers I have tried.  The font size in 2.1 was smaller and everything fit correctly.

      ![interface widget.jpg](/public/imported_attachments/1/interface widget.jpg)
      ![interface widget.jpg_thumb](/public/imported_attachments/1/interface widget.jpg_thumb)

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        My guess would be that this commit changed display characteristics like you describe:
        https://github.com/pfsense/pfsense/commit/607e15dbdf942483154887fea278bf54c64ae6ce
        Try the version prior to that, then add back in 1-by-1 the 3 little changes iy made until you see what one made a real difference.
        Then someone (or you?) can work out how to make the font a bit smaller while still doing the HTML tidy ups.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • P
          priller
          last edited by

          Excellent!  I reverted usr/local/www/widgets/widgets/interfaces.widget.php back to the way it was before those changes and now the widget displays correctly (see attached).

          I'm definitely not the right person to comment on what is right syntax or why that change was committed in the first place.  But, it does mess things up a bit.

          Thanks

          ![interface widget good2.jpg_thumb](/public/imported_attachments/1/interface widget good2.jpg_thumb)
          ![interface widget good2.jpg](/public/imported_attachments/1/interface widget good2.jpg)

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