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

"delete build" button is to long

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      2.176.1
    • Similar Issues:
    • Released As:
      2.190

      Description

      after upgrade to 2.176.1, "delete build" button is to long.
      see my attachment picture at bleow.

       

      JENKINS-55848

       

      https://github.com/jenkinsci/jenkins/pull/3871

        Attachments

          Issue Links

            Activity

            Hide
            surenpi Rick added a comment -

            This is my screenshot. There's no problem.

            Show
            surenpi Rick added a comment - This is my screenshot. There's no problem.
            Hide
            mmh19891113 bright.ma added a comment -

            edit the "build info" set the title

            Show
            mmh19891113 bright.ma added a comment - edit the "build info" set the title
            Hide
            aakashkanvinde Aakash Kanvinde added a comment - - edited

            > Using Jenkins v2.184

            Fix contains:

            1. Display decreased the length of the delete build button
            2. Display decreased the length of the build title
            3. Display decreased the length of build name in the breadcrumbs

            Solution:

            When the length of the delete button larger than the width of that div element i.e. when the name overflows, the delete button string displays the name as it is, till the width of the div element and the remaining part is converted to ellipsis automatically. The build-caption page-headline and breadcrumbs headline behaves in the same way.

            Following files were modified in the codebase:

            1. jenkins/war/src/main/webapp/css/style.css
            2. jenkins/core/src/main/resources/lib/layout/breadcrumbs.css

            Tested the above on the following browsers:

            1. Chrome v75.0.3770.100
            2. Firefox Quantum v67.0.4
            3. Safari v12.0.1 (14606.2.104.1.1) 

            Also tested the three use cases on different viewports by changing the viewport/browser size.

            Show
            aakashkanvinde Aakash Kanvinde added a comment - - edited > Using Jenkins v2.184 Fix contains : Display decreased the length of the delete build button Display decreased the length of the build title Display decreased the length of build name in the breadcrumbs Solution : When the length of the delete button larger than the width of that div element i.e. when the name overflows, the delete button string displays the name as it is, till the width of the div element and the remaining part is converted to ellipsis automatically. The build-caption page-headline and breadcrumbs headline behaves in the same way. Following files were modified in the codebase: jenkins/war/src/main/webapp/css/style.css jenkins/core/src/main/resources/lib/layout/breadcrumbs.css Tested the above on the following browsers: Chrome v75.0.3770.100 Firefox Quantum v67.0.4 Safari v12.0.1 (14606.2.104.1.1)  Also tested the three use cases on different viewports by changing the viewport/browser size.

              People

              Assignee:
              aakashkanvinde Aakash Kanvinde
              Reporter:
              mmh19891113 bright.ma
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: