Skip to content

Commit

Permalink
Fix bugs chat view drops enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored and louis-menlo committed Oct 26, 2023
1 parent 75ef06d commit 249b35c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/app/_components/ModelTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 2 additions & 2 deletions web/app/_components/SimpleTextMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
/>
)}
Expand Down
2 changes: 0 additions & 2 deletions web/containers/BottomBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
1 change: 1 addition & 0 deletions web/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
@import './global.scss';
@import './code-block.scss';
@import './loader.scss';
@import './message.scss';
7 changes: 7 additions & 0 deletions web/styles/message.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.message {
ul,
ol {
list-style: auto;
padding-left: 24px;
}
}

0 comments on commit 249b35c

Please sign in to comment.