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

    • 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.

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

          Kalle Niemitalo created issue -
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Kalle Niemitalo made changes -
          Description Original: 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; }*.
          !image-2021-08-16-22-50-30-220.png|thumbnail!
           * 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
          !image-2021-08-16-22-50-48-806.png|thumbnail!

          In my opinion, bootstrap5-api should not be changing the styling of Jenkins components that are not deliberately using it.
          New: 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; }*.
          !image-2021-08-16-22-50-30-220.png!
           * 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
          !image-2021-08-16-22-50-48-806.png!

          In my opinion, bootstrap5-api should not be changing the styling of Jenkins components that are not deliberately using it.
          Ulli Hafner made changes -
          Component/s Original: bootstrap5-api-plugin [ 28620 ]

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

              Created:
              Updated: