forked from mirror/pixelfed
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:
parent
343683e4cc
commit
8541018cff
1 changed files with 6 additions and 4 deletions
|
@ -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…
Reference in a new issue