mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #691] [MERGED] fix(markdown): prevent MarkdownRenderable from shrinking #1500
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1500
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/691
Author: @remorses
Created: 2/16/2026
Status: ✅ Merged
Merged: 2/17/2026
Merged by: @kommander
Base:
main← Head:fix/markdown-flex-shrink📝 Commits (1)
578857efix(markdown): prevent MarkdownRenderable from shrinking📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
packages/core/src/renderables/Markdown.ts(+1 -0)📄 Description
Split from #597 to make review easier.
MarkdownRenderable inherits flexShrink: 1 by default, which causes it to collapse when placed next to large siblings in a flex layout. Setting
flexShrink: 0as default prevents this while still allowing callers to override it.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.