]> git.openstreetmap.org Git - rails.git/commitdiff
Make image non-blocking for pointer inputs
authorRobbendebiene <Robbendebiene@users.noreply.github.com>
Wed, 20 Oct 2021 07:52:47 +0000 (09:52 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 07:52:47 +0000 (09:52 +0200)
Currently the arm of the planet on https://www.openstreetmap.org/user/new is blocking pointer inputs on about a third of the email input field. This is solved by adding `pointer-events: none;` to the image.

app/assets/stylesheets/common.scss

index f8cd32438fc1a5e329de2fbca71b7aa3f00b87b2..01202179690316e44e744cfdd5fdd630555b3521 100644 (file)
@@ -1063,6 +1063,7 @@ tr.turn:hover {
     background-image: image-url("sign-up-illustration-arm.png");
     position: absolute;
     z-index: 100;
+    pointer-events: none;
   }
 }