Ad Widget

Collapse

Disable graph widget scroll bar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • myRCzabbix
    Member
    • Jun 2018
    • 39

    #1

    Disable graph widget scroll bar

    When I created a graph widget on the dashboard, no matter the zoom setting or how wide the widget is, the widget always shows a horizontal and vertical scroll bar (as if the graph is too big to fit in the widget). Is there a way to disable it?
  • Marat
    Junior Member
    • Mar 2018
    • 3

    #2
    Найди в файле style.css в различных темах эту строчку (.sysmap-scroll-container ) и добавь в нее width: max-content; Пример внизу.

    Find in the style file.css in a variety of topics that line (.sys map-scroll-container ) and add width: max-content; Example below.

    .sysmap-scroll-container{
    1. overflow-x: auto;
    2. overflow-y: hidden;
    3. position: relative;
    4. width: calc(100% - 20px);
    5. border: 10px solid #2b2b2b;
    6. background: #2b2b2b;
    7. display: block;
    8. margin: 4px 0;
    9. width: max-content;
    }

    Comment

    Working...