From 249b35ce770b31cefa964745ae779e2400eae388 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 25 Oct 2023 23:29:23 +0700 Subject: [PATCH] Fix bugs chat view drops enumeration --- web/app/_components/ModelTable/index.tsx | 2 +- web/app/_components/SimpleTextMessage/index.tsx | 4 ++-- web/containers/BottomBar/index.tsx | 2 -- web/styles/main.scss | 1 + web/styles/message.scss | 7 +++++++ 5 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 web/styles/message.scss diff --git a/web/app/_components/ModelTable/index.tsx b/web/app/_components/ModelTable/index.tsx index c3f0d96cf..0f3646509 100644 --- a/web/app/_components/ModelTable/index.tsx +++ b/web/app/_components/ModelTable/index.tsx @@ -10,7 +10,7 @@ const tableHeaders = ['MODEL', 'FORMAT', 'SIZE', 'STATUS', 'ACTIONS'] const ModelTable: React.FC = ({ models }) => ( <> -
+
diff --git a/web/app/_components/SimpleTextMessage/index.tsx b/web/app/_components/SimpleTextMessage/index.tsx index 339768d03..6085ae0fb 100644 --- a/web/app/_components/SimpleTextMessage/index.tsx +++ b/web/app/_components/SimpleTextMessage/index.tsx @@ -51,7 +51,7 @@ const SimpleTextMessage: React.FC = ({ return (
= ({ ) : ( )} diff --git a/web/containers/BottomBar/index.tsx b/web/containers/BottomBar/index.tsx index e10c14d29..6cd8bbc75 100644 --- a/web/containers/BottomBar/index.tsx +++ b/web/containers/BottomBar/index.tsx @@ -19,8 +19,6 @@ const BottomBar = () => { downloadStates.push(value) } - console.log(stateModelStartStop) - return (
diff --git a/web/styles/main.scss b/web/styles/main.scss index 010695926..f79fa6e7b 100644 --- a/web/styles/main.scss +++ b/web/styles/main.scss @@ -7,3 +7,4 @@ @import './global.scss'; @import './code-block.scss'; @import './loader.scss'; +@import './message.scss'; diff --git a/web/styles/message.scss b/web/styles/message.scss new file mode 100644 index 000000000..d98734284 --- /dev/null +++ b/web/styles/message.scss @@ -0,0 +1,7 @@ +.message { + ul, + ol { + list-style: auto; + padding-left: 24px; + } +}