Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add title to the PageHeader subtitle #6534

Closed
2 tasks done
Tracked by #4565
steven1046 opened this issue Dec 3, 2024 · 1 comment · Fixed by #6551
Closed
2 tasks done
Tracked by #4565

[Feature Request]: Add title to the PageHeader subtitle #6534

steven1046 opened this issue Dec 3, 2024 · 1 comment · Fixed by #6551
Assignees
Milestone

Comments

@steven1046
Copy link

The problem

picture/source: https://ibm-cloud.slack.com/archives/C013ZTX0N6B/p1733257027336759

The PageHeader component adds an ellipsis when the subtitle gets too large to display but you can't hover over it to see what the missing text is.

The solution

Please add an HTML title or equivalent to the string.

Design link

No response

Links to other materials

No response

Owner/main maintainer(s)

David Menendez

Second/backup maintainer(s)

No response

Product/offering

No response

Business priority

None

Code of Conduct

@davidmenendez
Copy link
Contributor

right now the subtitle div is utilizing -webkit-line-clamp to maintain the 2 line maximum, but there's currently no mechanism for displaying the text that goes beyond 2 lines. this was probably an oversight when we removed unnecessary title attributes from various components. something similar to what the title does could be applied to the subtitle to allow the text to be visible.

more to think about in our ongoing discussion regarding the pageheader and truncation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 🚀
Development

Successfully merging a pull request may close this issue.

3 participants