1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

CM6: Added tabbing, fixed dark mode border in WYSIWYG

This commit is contained in:
Dan Brown
2023-04-18 13:41:28 +01:00
parent 900571ac9c
commit 94f464cd14
3 changed files with 11 additions and 3 deletions

View File

@@ -4,13 +4,19 @@
.cm-editor {
font-size: 12px;
border: 1px solid;
@include lightDark(border-color, #ddd, #444);
border: 1px solid #ddd;
margin-bottom: $-l;
line-height: 1.4;
border-radius: 4px;
}
// Manual dark-mode definition so that it applies to code blocks within the shadow
// dom which are used within the WYSIWYG editor, as the .dark-mode on the parent
// <html> node are not applies so instead we have the class on the parent element.
.dark-mode .cm-editor {
border-color: #444;
}
/**
* Custom Copy Button
*/