Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4798

Text values in history tables are set with 'whitespace: pre' but are not displayed using a fixed width font.

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.0rc1
    • None
    • Frontend (F)
    • Tested using IE 9.0 (compat. and quirks modes) and Opera 11.61

    Description

      I do apologize if this is working as intended or should have been entered as a trivial item - let me explain though... The reason I set it as a minor issue is because it appears as if the intent was to keep pre-formatted text item values, well, pre-formatted. However, by not using a fixed width font the use of 'whitespace: pre" seems rather pointless. If the text is truly pre-formatted with spaces and tabs, the general assumption is that we are trying to line things up, most likely in a table.

      Suggest that the CSS in default.css be updated from:

      TABLE.tableinfo TR TD.pre {
            white-space:pre;
      }
      

      To something like:

      TABLE.tableinfo TR TD.pre {
            white-space:pre;
            font-family: "Courier New", Courier, monospace;
            font-size: 11pt;
      }
      

      This would correctly display text that is truly pre-formatted, assuming that was the intent (which seems fairly obvious to me).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brentn Brent Neste
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: