File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
packages/compass-assistant/src/components Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -151,14 +151,6 @@ const noWrapFixesStyles = css({
151151 whiteSpace : 'nowrap' ,
152152} ) ;
153153
154- /** TODO(COMPASS-9751): This should be handled by Leafygreen's disclaimers update */
155- const inputBarStyleFixes = css ( {
156- width : '100%' ,
157- paddingLeft : spacing [ 400 ] ,
158- paddingRight : spacing [ 400 ] ,
159- paddingBottom : spacing [ 100 ] ,
160- } ) ;
161-
162154function makeErrorMessage ( message : string ) {
163155 message = message || 'An error occurred' ;
164156 return `${ message } . Try clearing the chat if the error persists.` ;
@@ -476,16 +468,12 @@ export const AssistantChat: React.FunctionComponent<AssistantChatProps> = ({
476468 </ p >
477469 </ div >
478470 ) }
479- < div className = { inputBarStyleFixes } >
480- < InputBar
481- data-testid = "assistant-chat-input"
482- onMessageSend = { ( messageBody ) =>
483- void handleMessageSend ( messageBody )
484- }
485- state = { status === 'submitted' ? 'loading' : undefined }
486- textareaProps = { inputBarTextareaProps }
487- />
488- </ div >
471+ < InputBar
472+ data-testid = "assistant-chat-input"
473+ onMessageSend = { ( messageBody ) => void handleMessageSend ( messageBody ) }
474+ state = { status === 'submitted' ? 'loading' : undefined }
475+ textareaProps = { inputBarTextareaProps }
476+ />
489477 </ ChatWindow >
490478 </ LeafyGreenChatProvider >
491479 </ div >
You can’t perform that action at this time.
0 commit comments