]> git.openstreetmap.org Git - rails.git/commitdiff
Enable focus styling for leaflet control buttons
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Aug 2022 13:58:40 +0000 (14:58 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Aug 2022 13:58:40 +0000 (14:58 +0100)
Fixes #3633

app/assets/stylesheets/common.scss

index 1f80a9b5b520c08029d9965e273b92b731ec1429..fa5cd5643526b992506a61c05bfbd2ce7947336d 100644 (file)
@@ -283,7 +283,8 @@ body.compact-nav {
   margin-bottom: 10px;
   outline: none;
 
   margin-bottom: 10px;
   outline: none;
 
-  &:hover {
+  &:hover,
+  &:focus {
     background-color: black;
   }
 
     background-color: black;
   }