[refactor] separate some editor styles .

This commit is contained in:
charlie
2020-11-28 15:38:00 +08:00
parent 2e60a8085e
commit 54ef3aa574
2 changed files with 45 additions and 19 deletions

View File

@@ -0,0 +1,28 @@
.editor-wrapper {
}
.editor-inner {
position: relative;
display: flex;
}
.editor-inner textarea {
border: none;
border-radius: 0;
background: transparent;
padding: 0;
}
.non-block-editor textarea, pre {
display: block;
padding: 0.5rem;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .02);
border-radius: 4px;
}
.non-block-editor textarea {
background: #F6F8FA;
background: var(--ls-secondary-background-color);
}