assistant2: Fix notification max width (#27872)
<img width=400 src="https://github.com/user-attachments/assets/4132e075-3f2a-4c65-8c06-c3428f3ad477"> <img width=400 src="https://github.com/user-attachments/assets/95908b32-a9b9-45c3-9db9-dcbeedffc5e7"> Release Notes: - N/A
This commit is contained in:
parent
95b963c87b
commit
2d05537b59
@ -118,12 +118,13 @@ impl Render for AgentNotification {
|
||||
)
|
||||
.child(
|
||||
v_flex()
|
||||
.flex_1()
|
||||
.max_w(px(300.))
|
||||
.child(
|
||||
div()
|
||||
.relative()
|
||||
.text_size(px(14.))
|
||||
.text_color(cx.theme().colors().text)
|
||||
.max_w(px(300.))
|
||||
.truncate()
|
||||
.child(self.title.clone())
|
||||
.child(gradient_overflow()),
|
||||
@ -133,7 +134,6 @@ impl Render for AgentNotification {
|
||||
.relative()
|
||||
.text_size(px(12.))
|
||||
.text_color(cx.theme().colors().text_muted)
|
||||
.max_w(px(340.))
|
||||
.truncate()
|
||||
.child(self.caption.clone())
|
||||
.child(gradient_overflow()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user