viewer: hide arrows on mobile

pull/175/head
Varun Patil 2022-11-06 01:03:35 -07:00
parent 979779ea95
commit f8ade5d755
1 changed files with 7 additions and 0 deletions

View File

@ -645,5 +645,12 @@ export default class Viewer extends Mixins(GlobalMixin) {
.pswp__icn-shadow { .pswp__icn-shadow {
display: none; display: none;
} }
// Hide arrows on mobile
@media (max-width: 768px) {
.pswp__button--arrow {
opacity: 0 !important;
}
}
} }
</style> </style>