"vscode:/vscode.git/clone" did not exist on "9c343b4f71e4c1e524044926b0cb85c0521e7140"
Unverified Commit 1e880f25 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #196 from ollama-webui/codeblock-width

feat: horizontal scroll for code block
parents a3e2a573 109dbb44
......@@ -14,6 +14,12 @@ html {
word-break: break-word;
}
code {
white-space-collapse: preserve !important;
white-space: nowrap;
width: auto;
}
math {
margin-top: 1rem;
}
......@@ -31,8 +37,8 @@ math {
}
::-webkit-scrollbar {
height: 1rem;
width: 0.5rem;
height: 0.45rem;
width: 0.35rem;
}
::-webkit-scrollbar-track {
......
......@@ -372,7 +372,7 @@
{/if}
</div>
<div class="w-full">
<div class="w-full overflow-hidden">
<div class=" self-center font-bold mb-0.5">
{#if message.role === 'user'}
You
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment