Skip to content

Commit

Permalink
fix_conversation_history_overflow
Browse files Browse the repository at this point in the history
Change max height from 25 to 19 rem to prevent overflow.
Change of bottom text.
  • Loading branch information
pabik committed Dec 11, 2023
1 parent a4483cf commit d242d34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
</p>
</NavLink>
{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>
{conversations?.map((conversation) => (
<ConversationTile
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/conversation/Conversation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ export default function Conversation() {
)}
</div>
<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
questions.
DocsGPT may not always be correct; make sure to confirm important
data.
</p>
</div>
</div>
Expand Down

0 comments on commit d242d34

Please sign in to comment.