mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
feat: horizontal scroll for code block
This commit is contained in:
parent
a3e2a57324
commit
d0633a9499
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user