mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
style(next): improve code block style
This commit is contained in:
parent
b81c15c84c
commit
2e1b472500
@ -7,7 +7,8 @@
|
||||
*/
|
||||
|
||||
.attachment-content-wrapper pre,
|
||||
.ck-content pre {
|
||||
.ck-content pre,
|
||||
.ck-mermaid__editing-view {
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
box-shadow: var(--code-block-box-shadow);
|
||||
@ -33,9 +34,10 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
||||
}
|
||||
|
||||
.attachment-content-wrapper pre code,
|
||||
.ck-content pre code {
|
||||
.ck-content pre code,
|
||||
.ck-mermaid__editing-view {
|
||||
display: block;
|
||||
padding: 1em;
|
||||
padding: 1em !important;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user