Vectrum
Sign In

Slash menu: keep long argument hints in bounds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JjohannSocommitted 1 parent 7f694e9commit1598271

Showing 1 changed file with 3 additions and 1 deletion.

+3−1src/ui/chat.rsView File
@@ -351,7 +351,9 @@ impl ChatView {
351351 .when(!command.argument_hint.is_empty(), |this| {
352352 this.child(
353353 div()
354- .flex_none()
354+ .flex_shrink()
355+ .max_w(px(200.))
356+ .truncate()
355357 .font_family(metal::MONO)
356358 .text_size(px(11.5))
357359 .text_color(p.ink3)