From 6c4df06050f25a5396d5b47fa9eae83958ec13a8 Mon Sep 17 00:00:00 2001 From: Aljaz S Date: Wed, 24 Nov 2021 09:26:41 +0100 Subject: [PATCH] permit selection of text in specific cases permit text selection in textarea, code, input elements --- src/public/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/public/style.css b/src/public/style.css index d39f9ba..a562fb3 100644 --- a/src/public/style.css +++ b/src/public/style.css @@ -20,6 +20,15 @@ html { user-select: none; } +textarea, +input, +code { + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; +} + ::-moz-selection, ::selection { background: rgba(var(--c-accent-val), .5);