Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
b85c6ef6
Commit
b85c6ef6
authored
Mar 01, 2024
by
Timothy J. Baek
Browse files
fix: ol display issue
#963
parent
96e2ee48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
src/app.css
src/app.css
+15
-0
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/chat/Messages/ResponseMessage.svelte
+1
-1
No files found.
src/app.css
View file @
b85c6ef6
...
@@ -28,6 +28,21 @@ math {
...
@@ -28,6 +28,21 @@ math {
@apply
rounded-lg;
@apply
rounded-lg;
}
}
ol
>
li
{
counter-increment
:
list-number
;
display
:
block
;
margin-bottom
:
0
;
margin-top
:
0
;
min-height
:
28px
;
}
ol
>
li
::before
{
content
:
counters
(
list-number
,
'.'
)
'.'
;
padding-right
:
0.5rem
;
color
:
var
(
--tw-prose-counters
);
font-weight
:
400
;
}
::-webkit-scrollbar-thumb
{
::-webkit-scrollbar-thumb
{
--tw-border-opacity
:
1
;
--tw-border-opacity
:
1
;
background-color
:
rgba
(
217
,
217
,
227
,
0.8
);
background-color
:
rgba
(
217
,
217
,
227
,
0.8
);
...
...
src/lib/components/chat/Messages/ResponseMessage.svelte
View file @
b85c6ef6
...
@@ -334,7 +334,7 @@
...
@@ -334,7 +334,7 @@
{/if}
{/if}
<div
<div
class="prose chat-{message.role} w-full max-w-full dark:prose-invert prose-headings:my-0 prose-p:m-0 prose-p:-mb-6 prose-pre:my-0 prose-table:my-0 prose-blockquote:my-0 prose-img:my-0 prose-ul:-my-4 prose-ol:-my-4 prose-li:-my-3 prose-ul:-mb-6 prose-ol:-mb-8 prose-li:-mb-4 whitespace-pre-line"
class="prose chat-{message.role} w-full max-w-full dark:prose-invert prose-headings:my-0 prose-p:m-0 prose-p:-mb-6 prose-pre:my-0 prose-table:my-0 prose-blockquote:my-0 prose-img:my-0 prose-ul:-my-4 prose-ol:-my-4 prose-li:-my-3 prose-ul:-mb-6 prose-ol:-mb-8
prose-ol:p-0
prose-li:-mb-4 whitespace-pre-line"
>
>
<div>
<div>
{#if edit === true}
{#if edit === true}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment