File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
apps/desktop/src/components Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 3131 class =" bubble-wrap"
3232 class:editing
3333 class:bubble-wrap _user={role === MessageRole .User }
34- class:bubble-wrap _assistant={role === MessageRole .Assistant }
34+ class:bubble-wrap _assistant={role === MessageRole .Assistant || role === MessageRole . System }
3535>
3636 <div class =" bubble" >
3737 <div class =" bubble__header text-13 text-bold" >
3838 {#if role === MessageRole .User }
3939 <Icon name =" profile" />
4040 <span >User</span >
41+ {:else if role === MessageRole .System }
42+ <Icon name =" robot" />
43+ <span >System</span >
4144 {:else }
4245 <Icon name =" robot" />
4346 <span >Assistant</span >
9396 .bubble {
9497 width : 100 % ;
9598 max-width : 90 % ;
96- /* overflow: hidden; */
9799 }
98100
99101 .bubble-wrap_user {
119121 align-items : center;
120122 padding : 12 px ;
121123 gap : 8 px ;
122- /* border: 1px solid var(--clr-border-2); */
123-
124124 border-bottom : none;
125125 border-radius : var (--radius-l ) var (--radius-l ) 0 0 ;
126126 }
129129 padding : 12 px ;
130130 overflow-x : auto;
131131 border-top : 1 px solid var (--clr-border-2 );
132- /* border: 1px solid var(--clr-border-2); */
133-
134132 border-radius : 0 0 var (--radius-l ) var (--radius-l );
135133 color : var (--clr-text-1 );
136134 }
145143
146144 .textarea {
147145 width : 100 % ;
146+ overflow : hidden;
148147 border : 1 px solid var (--clr-border-2 );
149148 border-radius : 0 0 var (--radius-l ) var (--radius-l );
150149 background-color : var (--clr-bg-1 );
You can’t perform that action at this time.
0 commit comments