mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
fix: katex display overflow issue
This commit is contained in:
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%;
|
||||||
|
|||||||
Reference in New Issue
Block a user