From 48970567f1943fb70ef1526827c21548d23695e7 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Tue, 6 Apr 2021 11:55:29 +0200 Subject: Disable dragging and zoom events on app images 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 Change-Id: I4da1e0ee0c86812f5ecb7b83a70a2a3e27093b3d --- src/styles/main.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/styles') diff --git a/src/styles/main.scss b/src/styles/main.scss index b89ee6f..a09d4e5 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -24,6 +24,12 @@ body { color: map-get($colors, font); margin: 0; + img { + user-select: none !important; + touch-action: none; + pointer-events: none; + } + a { color: map-get($colors, font); text-decoration: none; @@ -148,4 +154,4 @@ body { background: white; font-size: 1.5rem; } -} \ No newline at end of file +} -- cgit 1.2.3-korg