From 81108bf58043edacb560831516f24ace7b88a23b Mon Sep 17 00:00:00 2001 From: David Luzar Date: Mon, 26 Apr 2021 00:03:53 +0200 Subject: [PATCH] fix: prevent selecting `.visually-hidden` elements (#3501) --- public/index.html | 1 + src/css/app.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/public/index.html b/public/index.html index c1b9f98c..4745d96a 100644 --- a/public/index.html +++ b/public/index.html @@ -125,6 +125,7 @@ overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; /* added line */ + user-select: none; } .LoadingMessage { diff --git a/src/css/app.scss b/src/css/app.scss index 027f9305..a7370c10 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -5,6 +5,7 @@ overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; /* added line */ + user-select: none; } .LoadingMessage {