File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ pub fn message<M: Message>(message: MessageGroup<M>) -> impl IntoElement {
5656 . flex ( )
5757 . flex_row ( )
5858 . text_color ( rgb ( 0xFFFFFF ) )
59- . gap_2 ( )
60- . p_2 ( )
59+ . gap_4 ( )
6160 . child ( img ( message. get_author ( ) . get_icon ( ) ) . object_fit ( gpui:: ObjectFit :: Fill ) . bg ( rgb ( 0xFFFFFF ) ) . rounded_full ( ) . w_12 ( ) . h_12 ( ) )
6261 . child ( div ( ) . flex ( ) . flex_col ( ) . child ( message. get_author ( ) . get_display_name ( ) ) . child ( div ( ) . children ( message. contents ( ) ) ) )
6362}
Original file line number Diff line number Diff line change @@ -88,6 +88,6 @@ impl<M: Message + 'static> ChannelView<M> {
8888
8989impl < M : Message + ' static > Render for ChannelView < M > {
9090 fn render ( & mut self , _: & mut gpui:: ViewContext < Self > ) -> impl gpui:: IntoElement {
91- div ( ) . flex ( ) . flex_col ( ) . w_full ( ) . h_full ( ) . child ( list ( self . list_state . clone ( ) ) . w_full ( ) . h_full ( ) ) . child ( self . message_input . clone ( ) )
91+ div ( ) . flex ( ) . flex_col ( ) . w_full ( ) . h_full ( ) . p_6 ( ) . gap_6 ( ) . child ( list ( self . list_state . clone ( ) ) . w_full ( ) . h_full ( ) ) . child ( self . message_input . clone ( ) )
9292 }
9393}
You can’t perform that action at this time.
0 commit comments