Skip to content

armgit / Wake

Public Imported from GitHub
0

All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.

Rust

Fix the detail statistics width

Corey Chiu8c8ae94ad39b
diff --git a/crates/wake/src/workbench.rs b/crates/wake/src/workbench.rs
index a3bf7f5..5e3dd0e 100644
--- a/crates/wake/src/workbench.rs
+++ b/crates/wake/src/workbench.rs
@@ -3179,6 +3179,7 @@ impl Workbench {
)
.child(
v_flex()
+ .w_full()
.min_w_0()
.pt(SPACE_MD)
.gap(SPACE_SM)
@@ -3209,10 +3210,16 @@ impl Workbench {
)
.when(has_detail_facts, |this| {
this.child(
- div()
+ h_flex()
+ .w_full()
.min_w_0()
- .truncate()
- .child(detail_fact_line),
+ .child(
+ div()
+ .flex_1()
+ .min_w_0()
+ .truncate()
+ .child(detail_fact_line),
+ ),
)
})
.child(