1
0
Fork 0

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
1 changed files with 6 additions and 4 deletions

View File

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