Hide webkit scrollbar only on touch-only devices

on nontouch or hybrid devices, the scrollbar is needed to navigate filters. Fix #1285
pull/1302/head
trwnh 6 years ago committed by GitHub
parent 343683e4cc
commit 8541018cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>

Loading…
Cancel
Save