mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(slidebox): make sure next/prev slides are at top
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
.slider-slides {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@include translate3d(0,0,0);
|
||||
&.transition {
|
||||
-webkit-transition: linear -webkit-transform;
|
||||
@@ -31,10 +32,12 @@
|
||||
&[slide-display="previous"] {
|
||||
position: absolute;
|
||||
left: -100%;
|
||||
top: 0;
|
||||
}
|
||||
&[slide-display="next"] {
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user