Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-33219

StatusItem component layout is wonky when no timestamp prop is present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 4.16.0
    • 4.13, 4.12, 4.14, 4.15, 4.16.0
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Previously, the message text of a StatusItem could be vertically misaligned with the icon when a timestamp is not present. With this update, the message text is correctly aligned.
    • Bug Fix
    • In Progress

      Description of problem:

      When a StatusItem lacks a timestamp, a <div> element is still output to the dom, resulting in a spacing issue above the message resulting in a veritcal misalignment with the icon on the left.  This is the result of the fact that timestamp is an optional prop, but the <div> surrounding the optional prop output is not optional.

            rhn-engineering-rhamilto Robb Hamilton
            rhn-engineering-rhamilto Robb Hamilton
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: