Commit d0633a94 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

feat: horizontal scroll for code block

parent a3e2a573
......@@ -14,6 +14,14 @@ html {
word-break: break-word;
}
code {
white-space-collapse: preserve !important;
/* text-wrap: nowrap !important; */
white-space: nowrap;
width: auto;
}
math {
margin-top: 1rem;
}
......
......@@ -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