From b2ec9a2f47dad3781c1cce12e7aed43e5fd20fcb Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 14 Apr 2026 22:30:53 +0300 Subject: [PATCH] chore(text): make sure tab size constant is available regardless of theme --- apps/client/src/stylesheets/style.css | 4 ++++ apps/client/src/stylesheets/theme-next/notes/text.css | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 0ffd81bf02..c1672f50c4 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -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); +} diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css index 8e0f1d195e..252a3da6b2 100644 --- a/apps/client/src/stylesheets/theme-next/notes/text.css +++ b/apps/client/src/stylesheets/theme-next/notes/text.css @@ -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; }