Hide webkit scrollbar only on touch-only devices

on nontouch or hybrid devices, the scrollbar is needed to navigate filters. Fix #1285
This commit is contained in:
trwnh 2019-05-14 08:54:27 -05:00 committed by GitHub
parent 343683e4cc
commit 8541018cff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,9 +214,11 @@
color: #fff;
font-weight: bold;
}
.media-drawer-filters::-webkit-scrollbar {
display: none;
}
@media (hover: none) and (pointer: coarse) {
.media-drawer-filters::-webkit-scrollbar {
display: none;
}
}
</style>
<script type="text/javascript">
export default {
@ -489,4 +491,4 @@ export default {
}
}
}
</script>
</script>