mirror of
https://github.com/open-webui/open-webui
synced 2025-06-04 03:37:35 +00:00
fix: katex display overflow issue
This commit is contained in:
parent
cdb4904999
commit
d5ee39de21
22
src/app.css
22
src/app.css
@ -218,6 +218,28 @@ input[type='number'] {
|
|||||||
-moz-appearance: textfield; /* Firefox */
|
-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 {
|
.cm-editor {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
Reference in New Issue
Block a user