✨ Add swipe gesture on photo Viewer
This commit is contained in:
@@ -11,7 +11,7 @@ body {
|
||||
color: #fff;
|
||||
cursor: default;
|
||||
overflow-x: hidden;
|
||||
overscroll-behavior-y: none;
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
*, *:before, *:after {
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user