Skip to content

[JENKINS-1378] Active view wraps text where inactive views are not wrapped #13911

Closed

Description

@jenkins-infra-bot

create server views with spaces in the view name and '-'s
e.g "CI Builds", "Bob-A (CI)", "Bob-A (release)", "Jane (CI)", "Jane (release)"

with the "all" view selected (e.g http:///") not how the text for
the views is all on one line (the text is not wrapped).

Select "Bob-A (CI)". ( http:///view/Bob-A%20(CI)/ )

Note the text reads.
"Bob-
A
(CI)"

yet the text for the other views is still on one line.

This looks strange.

Possible solution is adding td

{white-space:nowrap;}

to the css style for
active.

Note sure how this would effect views with very long names.
Other solution is to not make the active span 2 rows but use 2 separate cells.
one to draw the top border and top of the tab, the other just to show the text
(which would then be consistent between active and inactive view)


Originally reported by teilo, imported from: Active view wraps text where inactive views are not wrapped
  • status: Closed
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2008-03-09T23:01:25+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-11-24
Raw content of original issue

create server views with spaces in the view name and '-'s e.g "CI Builds", "Bob-A (CI)", "Bob-A (release)", "Jane (CI)", "Jane (release)"

with the "all" view selected (e.g http://<hudsonurl>/") not how the text for the views is all on one line (the text is not wrapped).

Select "Bob-A (CI)". ( http://<hudsonurl>/view/Bob-A%20(CI)/ )

Note the text reads. "Bob- A (CI)"

yet the text for the other views is still on one line.

This looks strange.

Possible solution is adding td

{white-space:nowrap;}

to the css style for active.

Note sure how this would effect views with very long names. Other solution is to not make the active span 2 rows but use 2 separate cells. one to draw the top border and top of the tab, the other just to show the text (which would then be consistent between active and inactive view)

  • environment: Platform: HP, OS: Windows XP
2 attachments

Activity

  1. jenkins-infra-bot commented on Mar 7, 2008

    @jenkins-infra-bot
    Author
    teilo:
    • Original comment link
    • Raw content of original comment:

      Created an attachment (id=185) all tab selected

    Created an attachment (id=185)
    all tab selected

  2. jenkins-infra-bot commented on Mar 7, 2008

    @jenkins-infra-bot
    Author
    teilo:
    • Original comment link
    • Raw content of original comment:

      Created an attachment (id=186) ECM-R view

    Created an attachment (id=186)
    ECM-R view

  3. jenkins-infra-bot commented on Mar 7, 2008

    @jenkins-infra-bot
    Author
    teilo:
    • Original comment link
    • Raw content of original comment:

      Note the difference in the "ECM-R (CI)" view tab in the attached images.

    Note the difference in the "ECM-R (CI)" view tab in the attached images.

  4. jenkins-infra-bot commented on Mar 9, 2008

    @jenkins-infra-bot
    Author
    kohsuke:
    • Original comment link
    • Raw content of original comment:

      Looks like this is an IE issue. The intention for this was to have white-space:nowrap inherited from #viewList.

      Fixed in 1.191 by adding an explicit CSS.

    Looks like this is an IE issue. The intention for this was to have
    white-space:nowrap inherited from #viewList.

    Fixed in 1.191 by adding an explicit CSS.

  5. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions