From e58022a2b174ab14574fdea5f7cd10be522299bc Mon Sep 17 00:00:00 2001 From: mokshsinghji <77796854+mokshsinghji@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:24:56 +0000 Subject: [PATCH] fix: #5042 pressing space too early with the dark note theme doesnt highlight the word as incorrect --- frontend/static/themes/dark_note.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/static/themes/dark_note.css b/frontend/static/themes/dark_note.css index 905527ac9d0f..61ddc19dde36 100644 --- a/frontend/static/themes/dark_note.css +++ b/frontend/static/themes/dark_note.css @@ -77,6 +77,10 @@ body::before { color: var(--current-color); } +#words .word.error letter:not(.correct):not(.incorrect)::after { + background: var(--sub-color); +} + #words .word letter.incorrect, #words.colorfulMode .word letter.incorrect { text-decoration: line-through;