0
0
Fork 0

Revert "Add double-tap zoom functionary to ZoomableImage (#6944)" (#7035)

Unfortunately the new hammer.js functionality wasn't correctly tested and didn't work across devices and browsers, as such, it's best to revert PR #6944 until we can revisit this functionality and make it work across all devices and browsers that are supported by Mastodon.

This reverts commit 5021c4e9ca.
This commit is contained in:
Emelia Smith 2018-04-04 11:58:15 +02:00 committed by Eugen Rochko
parent 07176fed37
commit 7a81082704
4 changed files with 76 additions and 99 deletions

View file

@ -1483,6 +1483,9 @@
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
img {
max-width: $media-modal-media-max-width;