Interfaces Dashboard Widget - Font Size Too Large



  • 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)



  • 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.



  • 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)


Log in to reply