From cadba4010962d59569a09a3d4cc0e7c20bb745b5 Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Wed, 20 Jul 2022 20:20:15 +0100 Subject: [PATCH] added some scss to resolve the issue of dragging window using text selection (#3051) Co-authored-by: dynwee --- apps/desktop/src/scss/header.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/desktop/src/scss/header.scss b/apps/desktop/src/scss/header.scss index fdeba451c24..94e45f23885 100644 --- a/apps/desktop/src/scss/header.scss +++ b/apps/desktop/src/scss/header.scss @@ -57,6 +57,13 @@ border: none; padding: 5px 10px 5px 30px; border-radius: $border-radius; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-user-drag: none; + -webkit-app-region: no-drag; + cursor: default; @include themify($themes) { background-color: themed("headerInputBackgroundColor");