fix: try to fix the case of auto complete panel overflow

This commit is contained in:
charlie
2020-12-17 15:06:39 +08:00
parent 8c8b51c144
commit 5c2b22d188
6 changed files with 45 additions and 20 deletions

View File

@@ -23,17 +23,23 @@
.editor-inner {
position: relative;
display: flex;
textarea {
border: none;
border-radius: 0;
background: transparent;
padding: 0;
resize: none;
}
}
.absolute-modal {
overflow: auto;
background: var(--ls-primary-background-color);
}
.editor-inner textarea {
border: none;
border-radius: 0;
background: transparent;
padding: 0;
&.is-overflow-vw-x {
transform: translateX(calc(-100% + 1rem));
}
}
.non-block-editor textarea,