]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix scroll menu on touch devices
authorChocobozzz <me@florianbigard.com>
Thu, 20 Feb 2020 09:42:57 +0000 (10:42 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 20 Feb 2020 09:43:07 +0000 (10:43 +0100)
client/src/app/menu/menu.component.scss

index 2963d4d1918333392987317295fdde9ab6fc1750..112fdc1ce694a05b906204546c33a76deae1dfb3 100644 (file)
@@ -260,3 +260,11 @@ menu {
     width: 100% !important;
   }
 }
+
+@media (hover: none) and (pointer: coarse) {
+  .menu-wrapper {
+    menu {
+      overflow-y: auto;
+    }
+  }
+}