File tree Expand file tree Collapse file tree 7 files changed +43
-3
lines changed
Expand file tree Collapse file tree 7 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,11 @@ export default class IgcChatComponent extends EventEmitterMixin<
308308
309309 return html `
310310 < div part ="header " ?hidden =${ ! hasContent } >
311- < slot name ="prefix " part ="prefix "> </ slot >
311+ < slot
312+ name ="prefix "
313+ part ="prefix "
314+ ?hidden =${ ! this . _slots . hasAssignedElements ( 'prefix' ) }
315+ > </ slot >
312316 < slot name ="title " part ="title "
313317 > ${ this . _state . options ?. headerText } </ slot
314318 >
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ igc-textarea::part(input) {
6464 overflow-y : auto ;
6565}
6666
67- igc-icon-button {
67+ igc-icon-button ,
68+ igc-textarea {
6869 --ig-size : 2 ;
6970}
7071
Original file line number Diff line number Diff line change 77 width : 100% ;
88}
99
10- [part ~= ' message-container' ] {
10+ [part ~= ' message-container' ],
11+ [part = ' plain-text' ] {
1112 @include type-style (' body-1' ) {
1213 margin : 0 ;
1314 };
15+ }
1416
17+ [part ~= ' message-container' ] {
1518 display : flex ;
1619 margin-inline-end : auto ;
1720 flex-direction : column ;
Original file line number Diff line number Diff line change @@ -14,6 +14,16 @@ $theme: $bootstrap;
1414 border-block-end : rem (1px ) solid var-get ($theme , ' header-border' );
1515}
1616
17+ [part = ' title' ] {
18+ @include type-style (' h5' ) {
19+ margin : 0 ;
20+ };
21+ }
22+
23+ [part = ' prefix' ] {
24+ margin-inline-end : rem (16px );
25+ }
26+
1727igc-list {
1828 border : none ;
1929}
Original file line number Diff line number Diff line change 55 --textarea-height : #{rem (40px )} ;
66 }
77}
8+
9+ [part = ' title' ] {
10+ @include type-style (' subtitle-2' ) {
11+ margin : 0 ;
12+ };
13+ }
14+
15+ [part = ' prefix' ] {
16+ margin-inline-end : rem (16px );
17+ }
Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ $theme: $indigo;
2020 };
2121}
2222
23+ [part = ' prefix' ] {
24+ margin-inline-end : rem (16px );
25+ }
26+
27+ [part = ' actions' ] {
28+ gap : rem (8px );
29+ }
30+
2331igc-list {
2432 --ig-size : 2 ;
2533}
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ igc-textarea::part(input) {
77 max-height : rem (140px );
88}
99
10+ [part ~= ' input-container' ] {
11+ border-radius : rem (13px );
12+ }
13+
1014[part ~= ' dragging' ] {
1115 igc-textarea ::part (container ) {
1216 background : var-get ($theme , ' box-background-hover' );
You can’t perform that action at this time.
0 commit comments