summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2021-05-04 14:31:34 +0200
committerLorenzo Tilve <ltilve@igalia.com>2021-05-04 14:32:38 +0200
commitf4acfb635ad6879c1530efdc1b8bb56053cdad31 (patch)
tree4b1632b8d8dfe3d9eb75413f79fb3e700e3d6252 /src/styles
parente139569eab2db458066af20de666d0b68a74908d (diff)
Events triggered by webapps on those actions were producing some race conditions eventually causing a freeze. So disabling those and hiding displaying draggable link. Bug-AGL: SPEC-3786 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I64485b93077e1205fcd6d43ffa352b6a162db8fa
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/main.scss9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 8f388c9..d45f2bb 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -53,6 +53,13 @@ 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 {
@@ -143,4 +150,4 @@ body {
background: white;
font-size: 1.5rem;
}
-} \ No newline at end of file
+}