Add swipe gesture on photo Viewer

This commit is contained in:
2021-11-22 23:21:51 +01:00
parent ac8c49d954
commit ded276b8a0
5 changed files with 131 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
height: 100vh;
display: flex;
align-items: center;
overflow: hidden;
.container {
height: 100%;
@@ -37,6 +38,7 @@
width: 100%;
margin: auto auto 0;
padding-top: 66.66%;
touch-action: none;
.photo {
--opacity: 1;