simplemde: improve preview of code blocks

Other tables are still shaky.
This commit is contained in:
Lephe 2021-07-08 19:27:59 +02:00
parent 6532dc8940
commit 08a8be1766
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,19 @@ div.editor-preview {
background: var(--background-preview);
}
div.editor-preview table th,
div.editor-preview-side table th,
div.editor-preview table td,
div.editor-preview-side table td {
border: inherit;
padding: inherit;
}
div.editor-preview table.codehilitetable pre,
div.editor-preview-side table.codehilitetable pre {
background: transparent;
}
div.CodeMirror .CodeMirror-selected,
div.CodeMirror .CodeMirror-selectedtext {
background: var(--background-light);