From 6b65a66ee6176b006a9f3bdbb768ec7e5ce69615 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Thu, 27 Nov 2025 16:29:49 +0100 Subject: [PATCH] Restore colors for word limit warning message in tinymce widget The colors went missing with the daisyUI refactor 9cfc791538a13aa222c59996666b00ba64ab09af --- hypha/static_src/tailwind/components/tinymce.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hypha/static_src/tailwind/components/tinymce.css b/hypha/static_src/tailwind/components/tinymce.css index 6cf77f7f42..4f6e600b0b 100644 --- a/hypha/static_src/tailwind/components/tinymce.css +++ b/hypha/static_src/tailwind/components/tinymce.css @@ -45,14 +45,14 @@ .tox-statusbar__wordcount.word-count-warning, .tox-statusbar__wordcount.word-count-warning-2 { - background-color: var(--color-warning); - color: var(--color-warning-content); - font-weight: bold; + background-color: var(--color-warning) !important; + color: var(--color-warning-content) !important; + font-weight: bold !important; } .tox-statusbar__wordcount.word-count-warning-2 { - background-color: var(--color-error); - color: var(--color-error-content); + background-color: var(--color-error) !important; + color: var(--color-error-content) !important; } .tox-statusbar a,