File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -59,5 +59,15 @@ pub fn message<M: Message>(message: MessageGroup<M>) -> impl IntoElement {
5959 . gap_4 ( )
6060 . pb_6 ( )
6161 . child ( img ( message. get_author ( ) . get_icon ( ) ) . flex_shrink_0 ( ) . object_fit ( gpui:: ObjectFit :: Fill ) . bg ( rgb ( 0xFFFFFF ) ) . rounded_full ( ) . w_12 ( ) . h_12 ( ) )
62- . child ( div ( ) . flex ( ) . min_w_0 ( ) . flex_shrink ( ) . flex_col ( ) . child ( message. get_author ( ) . get_display_name ( ) ) . children ( message. contents ( ) ) )
62+ . child (
63+ div ( )
64+ . flex ( )
65+ . min_w_0 ( )
66+ . flex_shrink ( )
67+ . flex_col ( )
68+ // enabling this, and thus enabling ellipsis causes a consistent panic!?
69+ // .child(div().text_ellipsis().min_w_0().child(message.get_author().get_display_name()))
70+ . child ( div ( ) . min_w_0 ( ) . child ( message. get_author ( ) . get_display_name ( ) ) )
71+ . children ( message. contents ( ) ) ,
72+ )
6373}
You can’t perform that action at this time.
0 commit comments