Fix bugs chat view drops enumeration

This commit is contained in:
Faisal Amir 2023-10-25 23:29:23 +07:00 committed by Louis
parent 75ef06df23
commit 249b35ce77
5 changed files with 11 additions and 5 deletions

View File

@ -10,7 +10,7 @@ const tableHeaders = ['MODEL', 'FORMAT', 'SIZE', 'STATUS', 'ACTIONS']
const ModelTable: React.FC<Props> = ({ models }) => (
<>
<div className="border-border overflow-hidden rounded-lg border align-middle shadow-lg">
<div className="overflow-hidden rounded-lg border border-border align-middle shadow-lg">
<table className="min-w-full">
<thead className="bg-background">
<tr className="rounded-t-lg">

View File

@ -51,7 +51,7 @@ const SimpleTextMessage: React.FC<Props> = ({
return (
<div
className={`border-border/50 flex items-start gap-x-4 gap-y-2 border-b px-4 py-5 last:border-none`}
className={`flex items-start gap-x-4 gap-y-2 border-b border-border/50 px-4 py-5 last:border-none`}
>
<Image
className="rounded-full"
@ -73,7 +73,7 @@ const SimpleTextMessage: React.FC<Props> = ({
<LoadingIndicator />
) : (
<span
className="text-muted-foreground text-xs font-normal leading-loose"
className="message text-xs font-normal leading-loose text-muted-foreground"
dangerouslySetInnerHTML={{ __html: parsedText }}
/>
)}

View File

@ -19,8 +19,6 @@ const BottomBar = () => {
downloadStates.push(value)
}
console.log(stateModelStartStop)
return (
<div className="fixed bottom-0 left-0 z-20 flex h-8 w-full items-center justify-between border-t border-border bg-background/50 px-4">
<div className="flex gap-x-2">

View File

@ -7,3 +7,4 @@
@import './global.scss';
@import './code-block.scss';
@import './loader.scss';
@import './message.scss';

7
web/styles/message.scss Normal file
View File

@ -0,0 +1,7 @@
.message {
ul,
ol {
list-style: auto;
padding-left: 24px;
}
}