Data display · DescriptionList: a value fills its column, so a field inside it is full width

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 13:39:06 -04:00
1 parent bd3772ad54
commit 3d08744d38
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ impl RenderOnce for DescriptionList {
.when(stacked, |value| value.min_w_0())
.when(!stacked, |value| value.min_w(theme.label_width() * 0.5))
.text_color(colors.fg)
.child(div().min_w_0().child(value)),
.child(div().flex_1().min_w_0().child(value)),
)
}),
)