Ad Widget

Collapse

Dashboard: Widget size

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • christianmolecki
    Junior Member
    • Nov 2017
    • 22

    #1

    Dashboard: Widget size

    Hello,

    Is there a setting to adjust the width of the widgets?

    BR
    Christian
    Attached Files
  • Answer selected by christianmolecki at 19-11-2024, 10:57.
    christianmolecki
    Junior Member
    • Nov 2017
    • 22

    I know, but thats a static width,
    Is there a auto size according to the browser?

    Comment


    • mrnobody
      mrnobody commented
      Editing a comment
      Zabbix is responsive, but maps and dashboards can't be 100% responsive to the browser.

      It's not a good pratical and will need to be redo in every packages upgrade, but; i do something like this in CSS, editing your /usr/share/zabbix/assets/themeyouuse.css

      .dashboard-grid-widget-content{
      width: 200% !important;
      }

      It will overwrite existing rules from native CSS, with your custom CSS code. You can test directly on your browser using inspect element and changing the values...
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Edit and pull them wider?

    Comment

    • christianmolecki
      Junior Member
      • Nov 2017
      • 22

      #3
      I know, but thats a static width,
      Is there a auto size according to the browser?

      Comment


      • mrnobody
        mrnobody commented
        Editing a comment
        Zabbix is responsive, but maps and dashboards can't be 100% responsive to the browser.

        It's not a good pratical and will need to be redo in every packages upgrade, but; i do something like this in CSS, editing your /usr/share/zabbix/assets/themeyouuse.css

        .dashboard-grid-widget-content{
        width: 200% !important;
        }

        It will overwrite existing rules from native CSS, with your custom CSS code. You can test directly on your browser using inspect element and changing the values...
    Working...