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
9c72f4da
"src/vscode:/vscode.git/clone" did not exist on "762db11bf48fbc77852f1eef8a8e7d493972e2ff"
Commit
9c72f4da
authored
Jan 22, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
e7588555
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/Messages/CodeBlock.svelte
src/lib/components/chat/Messages/CodeBlock.svelte
+2
-2
No files found.
src/lib/components/chat/Messages/CodeBlock.svelte
View file @
9c72f4da
...
...
@@ -20,7 +20,7 @@
$: highlightedCode = code ? hljs.highlightAuto(code, hljs.getLanguage(lang)?.aliases).value : '';
</script>
<div class="mb-
3
">
<div class="mb-
4
">
<div
class="flex justify-between bg-[#202123] text-white text-xs px-4 pt-1 rounded-t-lg overflow-x-auto"
>
...
...
@@ -30,7 +30,7 @@
>
</div>
<pre class=" rounded-b-lg hljs p-4 overflow-x-auto rounded-t-none"><code
<pre class=" rounded-b-lg hljs p-4
px-5
overflow-x-auto rounded-t-none"><code
class="language-{lang} rounded-t-none whitespace-pre">{@html highlightedCode || code}</code
></pre>
</div>
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