Cherry-picked Fix zero-sized message editors when context strip is empty (#30079) Release Notes: - Fixed a bug that would cause the message composer in the agent panel to not render when the context strip was empty. Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: Nathan Sobo <nathan@zed.dev> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
012f4c2304
commit
792bae2949
@ -637,7 +637,7 @@ impl MessageEditor {
|
|||||||
this.h(vh(0.8, window)).justify_between()
|
this.h(vh(0.8, window)).justify_between()
|
||||||
})
|
})
|
||||||
.child(
|
.child(
|
||||||
div()
|
v_flex()
|
||||||
.min_h_16()
|
.min_h_16()
|
||||||
.when(is_editor_expanded, |this| this.h_full())
|
.when(is_editor_expanded, |this| this.h_full())
|
||||||
.child({
|
.child({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user