fix_conversation_history_overflow

Change max height from 25 to 19 rem to prevent overflow.
Change of bottom text.
fix_conversations_overflow
Pavel 6 months ago
parent a4483cf255
commit d242d34740

@ -242,7 +242,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
</p> </p>
</NavLink> </NavLink>
{conversations && ( {conversations && (
<div className="conversations-container max-h-[25rem] overflow-y-auto"> <div className="conversations-container max-h-[19rem] overflow-y-auto">
<p className="ml-6 mt-3 text-sm font-semibold">Chats</p> <p className="ml-6 mt-3 text-sm font-semibold">Chats</p>
{conversations?.map((conversation) => ( {conversations?.map((conversation) => (
<ConversationTile <ConversationTile

@ -193,8 +193,8 @@ export default function Conversation() {
)} )}
</div> </div>
<p className="text-gray-595959 w-[100vw] self-center bg-white p-5 text-center text-xs md:w-full"> <p className="text-gray-595959 w-[100vw] self-center bg-white p-5 text-center text-xs md:w-full">
This is a chatbot that uses the GPT-3, Faiss and LangChain to answer DocsGPT may not always be correct; make sure to confirm important
questions. data.
</p> </p>
</div> </div>
</div> </div>

Loading…
Cancel
Save