mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-28 01:24:17 +00:00
agent_ui: Fix full-width thread view layout (#56684)
Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [ ] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Closes #56677 Release Notes: - Agent: Fix squashed message editor when `limit_content_width=false`
This commit is contained in:
parent
a7f037d94b
commit
ffe4f4f5be
1 changed files with 1 additions and 0 deletions
|
|
@ -3300,6 +3300,7 @@ impl ThreadView {
|
|||
.child(
|
||||
v_flex()
|
||||
.when_some(max_content_width, |this, max_w| this.flex_basis(max_w))
|
||||
.when(max_content_width.is_none(), |this| this.w_full())
|
||||
.when(fills_container, |this| this.h_full())
|
||||
.flex_shrink()
|
||||
.flex_grow_0()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue