Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66383

text-align of th elements in Stage View depends on whether there are graphs on the page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None

      In the Stage View, the alignment of the column headers like "Declarative: Checkout SCM" changes depending on how many builds have completed.

      • If there is just one completed build and one in progress, then the column headers are centered. This comes from the browser default rule th { text-align: center; }.
      • If there are two or more completed builds, so that the page also contains a warnings trend chart and a test results trend chart, then the column headers are aligned to the left edge. This comes from the rule th { text-align: inherit; } in https://REDACTED/jenkins/static/a8fa6dd6/plugin/bootstrap5-api/css/bootstrap-custom-build.css

      In my opinion, bootstrap5-api should not be changing the styling of Jenkins components that are not deliberately using it.

            Unassigned Unassigned
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: