fix image preview

This commit is contained in:
cookfront
2017-04-01 15:51:47 +08:00
parent 780f900f5c
commit 641473e2b6
5 changed files with 32 additions and 17 deletions
+8 -7
View File
@@ -11,25 +11,26 @@
@e image {
display: block;
width: 100%;
height: auto;
transition: .2s ease-out;
position: absolute;
left: 0;
@m center {
width: 100%;
height: auto;
top: 50%;
transform: translate3d(0, -50%, 0);
}
}
.zan-swipe {
.zan-image-preview__image--big {
height: 100%;
overflow: visible;
width: auto;
left: 50%;
transform: translate3d(-50%, 0, 0);
}
.zan-swipe__items {
overflow: visible;
.zan-swipe {
height: 100%;
}
}
}