Skip to content

Commit 249b35c

Browse files
urmauurlouis-jan
authored andcommitted
Fix bugs chat view drops enumeration
1 parent 75ef06d commit 249b35c

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

web/app/_components/ModelTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const tableHeaders = ['MODEL', 'FORMAT', 'SIZE', 'STATUS', 'ACTIONS']
1010

1111
const ModelTable: React.FC<Props> = ({ models }) => (
1212
<>
13-
<div className="border-border overflow-hidden rounded-lg border align-middle shadow-lg">
13+
<div className="overflow-hidden rounded-lg border border-border align-middle shadow-lg">
1414
<table className="min-w-full">
1515
<thead className="bg-background">
1616
<tr className="rounded-t-lg">

web/app/_components/SimpleTextMessage/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const SimpleTextMessage: React.FC<Props> = ({
5151

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

web/containers/BottomBar/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ const BottomBar = () => {
1919
downloadStates.push(value)
2020
}
2121

22-
console.log(stateModelStartStop)
23-
2422
return (
2523
<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">
2624
<div className="flex gap-x-2">

web/styles/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
@import './global.scss';
88
@import './code-block.scss';
99
@import './loader.scss';
10+
@import './message.scss';

web/styles/message.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.message {
2+
ul,
3+
ol {
4+
list-style: auto;
5+
padding-left: 24px;
6+
}
7+
}

0 commit comments

Comments
 (0)