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: Done-Errata
    • 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
    • Hide
      * Previously, the message text of a `StatusItem` might have been vertically misaligned with the icon when a timestamp was not present. With this update, the message text is correctly aligned. (link:https://issues.redhat.com/browse/OCPBUGS-33219[*OCPBUGS-33219*])
      Show
      * Previously, the message text of a `StatusItem` might have been vertically misaligned with the icon when a timestamp was not present. With this update, the message text is correctly aligned. (link: https://issues.redhat.com/browse/OCPBUGS-33219 [* OCPBUGS-33219 *])
    • Bug Fix
    • Done

      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:
              Resolved: