hide rogue scrollbar (#69)
This commit is contained in:
		
							parent
							
								
									4055e84450
								
							
						
					
					
						commit
						37c088a212
					
				|  | @ -53,7 +53,7 @@ export const SystemPrompt: FC<Props> = ({ conversation, onChangePrompt }) => { | ||||||
|           resize: "none", |           resize: "none", | ||||||
|           bottom: `${textareaRef?.current?.scrollHeight}px`, |           bottom: `${textareaRef?.current?.scrollHeight}px`, | ||||||
|           maxHeight: "300px", |           maxHeight: "300px", | ||||||
|           overflow: "auto" |           overflow: `${textareaRef.current && textareaRef.current.scrollHeight > 400 ? "auto" : "hidden"}` | ||||||
|         }} |         }} | ||||||
|         placeholder="Enter a prompt" |         placeholder="Enter a prompt" | ||||||
|         value={value} |         value={value} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue