mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: katex display overflow issue
This commit is contained in:
parent
cdb4904999
commit
d5ee39de21
1 changed files with 22 additions and 0 deletions
22
src/app.css
22
src/app.css
|
|
@ -218,6 +218,28 @@ input[type='number'] {
|
|||
-moz-appearance: textfield; /* Firefox */
|
||||
}
|
||||
|
||||
.katex-display {
|
||||
@apply overflow-y-hidden overflow-x-auto max-w-full;
|
||||
}
|
||||
|
||||
.katex-display::-webkit-scrollbar {
|
||||
height: 0.4rem;
|
||||
width: 0.4rem;
|
||||
}
|
||||
|
||||
.katex-display:active::-webkit-scrollbar-thumb,
|
||||
.katex-display:focus::-webkit-scrollbar-thumb,
|
||||
.katex-display:hover::-webkit-scrollbar-thumb {
|
||||
visibility: visible;
|
||||
}
|
||||
.katex-display::-webkit-scrollbar-thumb {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.katex-display::-webkit-scrollbar-corner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cm-editor {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue