forked from open-webui/open-webui
feat: horizontal scroll for code block
This commit is contained in:
parent
a3e2a57324
commit
d0633a9499
2 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue