Fixes sidebar

This commit is contained in:
Alex
2023-10-30 22:41:35 +00:00
parent 5d1ec6a9c8
commit 6476e688e5
5 changed files with 22 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
import { forwardRef, useState } from 'react';
import Avatar from '../Avatar';
import Avatar from '../components/Avatar';
import { FEEDBACK, MESSAGE_TYPE } from './conversationModels';
import classes from './ConversationBubble.module.css';
import Alert from './../assets/alert.svg';
@@ -66,7 +66,17 @@ const ConversationBubble = forwardRef<
className={`flex self-start ${className} group flex-col pr-20`}
>
<div className="flex self-start">
<img src={DocsGPT3} alt="DocsGPT" />
<Avatar
className="mt-2 h-12 w-12 text-2xl"
avatar={
<img
src={DocsGPT3}
alt="DocsGPT"
className="h-full w-full object-cover"
/>
}
/>
<div
className={`ml-2 mr-5 flex rounded-3xl bg-gray-1000 p-3.5 ${
type === 'ERROR'