Merge pull request #1302 from pixelfed/trwnh-fix-nontouch

Hide webkit scrollbar only on touch-only devices (fix #1285)
This commit is contained in:
daniel 2019-06-16 17:01:53 -06:00 committed by GitHub
commit 2a61ee5015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,9 +249,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 {
@ -544,4 +546,4 @@ export default {
}
}
}
</script>
</script>