assistant2: Add text_ellipsis to the PastThread
label (#22117)
To treat the case for whenever the assistant panel gets small. <img width="360" alt="Screenshot 2024-12-16 at 20 12 34" src="https://github.com/user-attachments/assets/5426a5b9-9baf-41e3-a2c6-2f997378c994" /> Release Notes: - N/A
This commit is contained in:
parent
5558b04223
commit
28087934d1
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ impl RenderOnce for PastThread {
|
|||
.color(Color::Muted),
|
||||
)
|
||||
.spacing(ListItemSpacing::Sparse)
|
||||
.child(Label::new(summary).size(LabelSize::Small))
|
||||
.child(Label::new(summary).size(LabelSize::Small).text_ellipsis())
|
||||
.end_slot(
|
||||
h_flex()
|
||||
.gap_2()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue