diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-20 10:42:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-20 10:43:07 +0100 |
commit | c06be129506de9ac8d9910fed473c86724ca0e4e (patch) | |
tree | 2f6044957e6eb0c77fecc84f4176ab704084ad04 /client | |
parent | dfab4fa9c6d5b6f12ac844b191a51282b002d3f5 (diff) | |
download | PeerTube-c06be129506de9ac8d9910fed473c86724ca0e4e.tar.gz PeerTube-c06be129506de9ac8d9910fed473c86724ca0e4e.tar.zst PeerTube-c06be129506de9ac8d9910fed473c86724ca0e4e.zip |
Fix scroll menu on touch devices
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/menu/menu.component.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 2963d4d19..112fdc1ce 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -260,3 +260,11 @@ menu { | |||
260 | width: 100% !important; | 260 | width: 100% !important; |
261 | } | 261 | } |
262 | } | 262 | } |
263 | |||
264 | @media (hover: none) and (pointer: coarse) { | ||
265 | .menu-wrapper { | ||
266 | menu { | ||
267 | overflow-y: auto; | ||
268 | } | ||
269 | } | ||
270 | } | ||