summaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2021-04-06 11:48:16 +0200
committerLorenzo Tilve <ltilve@igalia.com>2021-04-06 11:48:16 +0200
commit4508992519a7203369c60406625e50b4e93d0f57 (patch)
treec493af918e6791ac544d8df99ff3c2fdaf95dc45 /src/styles/main.scss
parente2e89e39764edc3e588b84566c6357884c29a354 (diff)
We identified that part of the problems that were triggering the race condition were related with starting the drag of webapp images. Disabling those events, and also removing href link to avoid displaying draggable link. Bug-AGL: SPEC-3786 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I075d6bcd35700dcdd2e66cbc4b00f71527f2069e
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index fca72d9..5d2d950 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -55,8 +55,16 @@ html {
height: 100%;
background-size: cover;
-webkit-overflow-scrolling: touch;
+ user-select: none;
}
+img {
+ user-select: none !important;
+ touch-action: none;
+ pointer-events: none;
+}
+
+
body {
font-size: 1.2rem;
font-family: Arial;
@@ -230,4 +238,4 @@ body {
background: white;
font-size: 1.5rem;
}
-} \ No newline at end of file
+}