From 36b138655c8e6721b341988b2560dfdfb3108df3 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Wed, 5 Feb 2025 02:38:15 +0200 Subject: [PATCH] style(next): text notes: fix the table caption colors on dark theme --- src/public/stylesheets/theme-next/notes/text.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/public/stylesheets/theme-next/notes/text.css b/src/public/stylesheets/theme-next/notes/text.css index 76cc6e395..ac6002a8c 100644 --- a/src/public/stylesheets/theme-next/notes/text.css +++ b/src/public/stylesheets/theme-next/notes/text.css @@ -127,6 +127,13 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child { border-top: 1px solid var(--main-border-color) !important; } +/* Table caption */ + +.ck-content .table > figcaption { + background: var(--accented-background-color); + color: var(--main-text-color); +} + /* * Search in text panel */