Fix speech-bubble clipping for long messages #4
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "pr/bubble-clip-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR: Fix speech-bubble clipping for long messages
Branch:
pr/bubble-clip-fixScope: Pet-window bubble layout only.
Summary
Long assistant messages could get cut off at the bottom of the speech bubble because the body overflowed a fixed max-height. This PR makes the bubble body scrollable and increases the size tiers.
What changed
apps/desktop/src/pet-window.tsbubble CSS.bubble-bodynow usesflex: 1 1 auto,overflow-y: auto, andoverscroll-behavior: contain..bubble-textusesword-break: break-wordandwhite-space: normal..bubblemax-height raised to 200 px..bubble.is-long-messagemax-height raised to 240 px..bubble.is-very-long-messagemax-height raised to 300 px.How to test
overflow: visibleso existing pinned behavior is preserved.Backwards compatibility
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.