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
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue