aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2021-05-04 14:35:07 +0200
committerLorenzo Tilve <ltilve@igalia.com>2021-05-04 14:35:07 +0200
commit615446beb7005776b24835e48e95d2246c769621 (patch)
tree42fa65b01d47f03fd170713fa3884d914a15d7c8 /src/styles
parentb82053421e20fc299786749f8eeccd9a561a0afd (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: I404058f39ab90ee0ce87392d803a8693fc93a4ee
Diffstat (limited to 'src/styles')
-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 e3fa602..26def86 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -7,6 +7,7 @@ html {
background-size: cover;
-webkit-overflow-scrolling: touch;
overflow: hidden;
+ user-select: none;
}
@keyframes blink{
0% { opacity: .25;}
@@ -15,6 +16,13 @@ html {
75% { opacity: .5;}
100%{ opacity: .25;}
}
+
+img {
+ user-select: none !important;
+ touch-action: none;
+ pointer-events: none;
+}
+
body {
overflow: hidden;
@@ -31,4 +39,4 @@ body {
background: white;
font-size: 1.5rem;
}
-} \ No newline at end of file
+}