File tree Expand file tree Collapse file tree 2 files changed +34
-23
lines changed
Expand file tree Collapse file tree 2 files changed +34
-23
lines changed Original file line number Diff line number Diff line change @@ -502,27 +502,29 @@ export default class IgcChatComponent extends EventEmitterMixin<
502502 : nothing }
503503 </ div >
504504
505- < igc-chat-input
506- exportparts ="
507- input-container: input-area-container,
508- input-wrapper: input-container,
509- attachments: input-attachments-container,
510- attachment-wrapper: input-attachment-container,
511- attachment-name: input-attachment-name,
512- attachment-icon: input-attachment-icon,
513- text-input,
514- actions-container: input-actions-container,
515- input-actions-start,
516- input-actions-end,
517- file-upload-container,
518- file-upload,
519- send-button-container,
520- send-button "
521- >
522- </ igc-chat-input >
523- ${ this . _state . suggestionsPosition === 'below-input'
524- ? suggestions
525- : nothing }
505+ < div part ="input-area-container ">
506+ < igc-chat-input
507+ exportparts ="
508+ input-container: input-area-container,
509+ input-wrapper: input-container,
510+ attachments: input-attachments-container,
511+ attachment-wrapper: input-attachment-container,
512+ attachment-name: input-attachment-name,
513+ attachment-icon: input-attachment-icon,
514+ text-input,
515+ actions-container: input-actions-container,
516+ input-actions-start,
517+ input-actions-end,
518+ file-upload-container,
519+ file-upload,
520+ send-button-container,
521+ send-button "
522+ >
523+ </ igc-chat-input >
524+ ${ this . _state . suggestionsPosition === 'below-input'
525+ ? suggestions
526+ : nothing }
527+ </ div >
526528 </ div >
527529 ` ;
528530 }
Original file line number Diff line number Diff line change @@ -125,9 +125,18 @@ slot[name='prefix'] {
125125 margin-inline-end : rem (32px );
126126}
127127
128- igc-chat-input {
129- grid-row : 3 ;
128+ [part = ' input-area-container' ] {
129+ display : flex ;
130+ flex-direction : column ;
131+ align-items : center ;
132+ width : 100% ;
133+ z-index : 1 ;
134+ grid-column : 1 / -1 ;
135+ grid-row : 3 / 3 ;
130136}
137+ // igc-chat-input {
138+ // grid-row: 3;
139+ // }
131140
132141igc-list {
133142 --ig-size : 3 ;
You can’t perform that action at this time.
0 commit comments