From 00bf4f4aa069b7d5fd644a4f431d38ec96a4292a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sat, 20 Nov 2021 21:40:22 +0100 Subject: [PATCH] Disable selecting Photo index --- src/style/organisms/_house.scss | 2 ++ src/style/pages/_viewer-photo.scss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/style/organisms/_house.scss b/src/style/organisms/_house.scss index b3dc456..9e1ae91 100644 --- a/src/style/organisms/_house.scss +++ b/src/style/organisms/_house.scss @@ -126,6 +126,8 @@ bottom: -64px; right: 20px; text-align: right; + pointer-events: none; + user-select: none; @include bp (sm) { left: 112.5%; diff --git a/src/style/pages/_viewer-photo.scss b/src/style/pages/_viewer-photo.scss index b442d26..4bf4f2c 100644 --- a/src/style/pages/_viewer-photo.scss +++ b/src/style/pages/_viewer-photo.scss @@ -261,6 +261,8 @@ color: rgba($color-tertiary, 0.4); transform: translate3d(-50%, 0, 0); white-space: nowrap; + pointer-events: none; + user-select: none; @include bp (md, max) { font-size: clamp(#{rem(80px)}, 24vw, #{rem(120px)});