fix: necessary font changes (#1818)

* fix: necessary font changes

* chore: minor bump
This commit is contained in:
Danny Avila 2024-02-16 14:15:05 -05:00 committed by GitHub
parent fe0ef2ce61
commit 98064244bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 178 additions and 47 deletions

View file

@ -17,7 +17,7 @@ export default function Footer() {
rel="noreferrer"
className="underline"
>
{config?.appTitle || 'LibreChat'} v0.6.9
{config?.appTitle || 'LibreChat'} v0.6.10
</a>
{' - '} {localize('com_ui_new_footer')}
</>

View file

@ -41,7 +41,7 @@ export const p = memo(({ children }: { children: React.ReactNode }) => {
return <p className="mb-2 whitespace-pre-wrap">{children}</p>;
});
const cursor = ' ';
const cursor = ' ';
const Markdown = memo(({ content, message, showCursor }: TContentProps) => {
const { isSubmitting, latestMessage } = useChatContext();
const LaTeXParsing = useRecoilValue<boolean>(store.LaTeXParsing);

View file

@ -57,6 +57,7 @@ const DisplayMessage = ({ text, isCreatedByUser, message, showCursor }: TDisplay
))}
<div
className={cn(
showCursor && !!text?.length ? 'result-streaming' : '',
'markdown prose dark:prose-invert light w-full break-words',
isCreatedByUser ? 'whitespace-pre-wrap dark:text-gray-20' : 'dark:text-gray-70',
)}