From 24975e5d01cd58aaed2b1fd5f035d496e42232ad Mon Sep 17 00:00:00 2001 From: mokshsinghji <77796854+mokshsinghji@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:41:42 +0000 Subject: [PATCH] fix: pressing space too early with the dark note theme doesnt highlight the word as incorrect (mokshsinghji) (#5052) --- 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 905527ac9..61ddc19dd 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;