fix editor overflow
This commit is contained in:
@@ -173,14 +173,16 @@ export default {
|
|||||||
.editor {
|
.editor {
|
||||||
// max-height: auto;
|
// max-height: auto;
|
||||||
// height: auto;
|
// height: auto;
|
||||||
|
overflow-y: auto;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: #FF4500 transparent;
|
||||||
|
scroll-behavior: smooth;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
border-color: currentColor;
|
border-color: currentColor;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 0 thin 0;
|
border-width: 0 0 thin 0;
|
||||||
// background-color: rgba(255,255,255,0.04);
|
// background-color: rgba(255,255,255,0.04);
|
||||||
height: auto;
|
|
||||||
|
|
||||||
.focused {
|
.focused {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
@@ -190,14 +192,6 @@ export default {
|
|||||||
// position: absolute;
|
// position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
|
||||||
overflow-y: auto;
|
|
||||||
scrollbar-width: thin;
|
|
||||||
scrollbar-color: #FF4500 transparent;
|
|
||||||
scroll-behavior: smooth;
|
|
||||||
// padding-top: 30px;
|
|
||||||
// padding: 30px;
|
|
||||||
}
|
|
||||||
.ProseMirror {
|
.ProseMirror {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user