Viewer fixes to avoid resetting carousel when not necessary.
This commit is contained in:
1 parent
6fadc862e3
commit
0e8b40f648
5 files changed
+42
-27
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user