From 3bf1aa5053dce952a84f19c424233c7e8cafa82c Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Wed, 29 Jun 2022 19:08:49 +0100 Subject: [PATCH] [PS-1029] Browser: suppress `user-select` for most interface elements (#2674) * Browser: suppress `user-select` for most interface elements * Remove orphaned jslib folders --- apps/browser/src/popup/scss/misc.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/apps/browser/src/popup/scss/misc.scss b/apps/browser/src/popup/scss/misc.scss index 8752ad7088..b91f44cde3 100644 --- a/apps/browser/src/popup/scss/misc.scss +++ b/apps/browser/src/popup/scss/misc.scss @@ -388,6 +388,28 @@ input[type="password"]::-ms-reveal { } } +h1, +h2, +h3, +label, +a, +button, +p, +img, +.box-header, +.box-footer, +.callout, +.row-label, +.modal-title, +.overlay-container, +.swal2-container { + user-select: none; +} + +app-vault-view .box-footer { + user-select: auto; +} + // Workaround for slow performance on external monitors on Chrome + MacOS // See: https://bugs.chromium.org/p/chromium/issues/detail?id=971701#c64 @keyframes redraw {