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; 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 {