Skip to content

Conversation

@IsraelAraujo70
Copy link

Summary

  • Add wrapMode="none" to the Title component to prevent long session titles from creating an empty line

Fixes #8916

Problem

When a session title is very long, the default wrapMode="word" causes the text to wrap to a new line, creating an unwanted empty line in the header.

Solution

Added wrapMode="none" to the <text> element in the Title component, consistent with how ContextInfo already handles this on line 25.

Verification

  • Ran bun turbo typecheck - passes
  • The fix follows the same pattern used in ContextInfo component

Add wrapMode="none" to the Title component's text element to prevent
long session titles from creating an empty line in the header.

The issue occurred because the default wrapMode is "word", which
caused long titles to wrap to a new line.
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR:

Related PR:

However, this appears to be a different use case (dialogs vs. session headers) and from an earlier time period. PR #8960 is specifically fixing unwanted wrapping behavior in the session title header component based on issue #8916.

Conclusion: No clear duplicate PRs found. The current PR (#8960) appears to be addressing a specific issue unique to session title header wrapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long Session Title Has Empty Line

1 participant