Viewer fixes to avoid resetting carousel when not necessary.

This commit is contained in:
Dermot Duffy
2022-01-16 15:53:54 -08:00
parent 6fadc862e3
commit 0e8b40f648
5 changed files with 42 additions and 27 deletions
+5
View File
@@ -33,6 +33,11 @@ img,video {
width: 100%;
height: 100%;
overflow: hidden;
// Center vertically in the viewport.
display: flex;
flex-direction: column;
justify-content: center;
}
.embla__viewport.is-draggable {
cursor: move;