fix swipe css

This commit is contained in:
cookfront 2017-03-27 17:24:56 +08:00
parent e2995f1d36
commit 1501d6858b

View File

@ -5,6 +5,7 @@
position: relative; position: relative;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
height: 100%;
@e indicators { @e indicators {
position: absolute; position: absolute;
@ -28,13 +29,19 @@
opacity: 1; opacity: 1;
} }
} }
@e items {
position: relative;
overflow: hidden;
position: relative;
height: 100%;
}
} }
@b swipe-item { @b swipe-item {
display: none; display: none;
width: 100%;
height: 100%; height: 100%;
overflow: hidden; width: 100%;
text-align: center; text-align: center;
img { img {