From d514880cd8fa0dd9c385c6e49c97e74990a04e7c Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sat, 16 Mar 2024 09:48:55 -0700 Subject: [PATCH] Fix light mode text selection --- src-web/main.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src-web/main.css b/src-web/main.css index 2dda3cc5..ff6e6642 100644 --- a/src-web/main.css +++ b/src-web/main.css @@ -16,8 +16,9 @@ font-variant-ligatures: none; } - ::selection { - @apply bg-selection; + ::selection, + .cm-selectionBackground { + @apply bg-selection !important; } /* Disable user selection to make it more "app-like" */