Ad Widget

Collapse

zabbix 4.2.1 scroll map horizontally doesn't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fiberon
    Junior Member
    • Apr 2019
    • 8

    #1

    zabbix 4.2.1 scroll map horizontally doesn't work

    After upgrade from 3.4.5 to 4.0.7 and then to the 4.2.1 I got this ussue:Width of the map resizes according to the browser window on map view page.In editing view map scroll available.
    The map resolution is 1920x1080 and i cant scroll it and see all elements in small resolution screen.I read the support threads and there was written that this issue was fixed in previous releases.Any solutions to fix this?
  • 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

    • fiberon
      Junior Member
      • Apr 2019
      • 8

      #3
      Originally posted by Marat
      Найди в файле 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;
      }
      Hello,Marat.
      Thank you for your reply.Your advice didn't help me.
      Find the solution here :
      https://fossies.org/diffs/zabbix/4.2....php-diff.html

      Comment

      Working...