chore(text): make sure tab size constant is available regardless of theme

This commit is contained in:
Elian Doran
2026-04-14 22:30:53 +03:00
parent 71b3ee143f
commit b2ec9a2f47
2 changed files with 4 additions and 4 deletions

View File

@@ -2701,3 +2701,7 @@ iframe.print-iframe {
line-height: 1.4;
white-space: pre-wrap;
}
.ck-content pre code {
tab-size: var(--code-block-tab-width, 4);
}

View File

@@ -667,10 +667,6 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
white-space: pre;
}
.ck-content pre code {
tab-size: var(--code-block-tab-width, 4);
}
.code-sample-wrapper .hljs {
transition: background-color linear 100ms;
}