mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
[refactor] separate some editor styles .
This commit is contained in:
28
src/main/frontend/components/editor.css
Normal file
28
src/main/frontend/components/editor.css
Normal 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user