File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ export default {
70
70
71
71
.slider.-small .items {
72
72
height : 100px ;
73
- width : 100px ;
73
+ /* width: 100px; */
74
74
}
75
75
.slider.-big .items {
76
76
height : 200px ;
77
- width : 200px ;
77
+ /* width: 200px; */
78
78
}
79
79
80
80
</style >
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export default {
120
120
style: {
121
121
position: ' relative' ,
122
122
height: ` ${ this .viewportSize .height } px` ,
123
- width: ` ${ this .viewportSize .width } px`
123
+ width: this . orientation === ' horizontal ' ? ` ${ this .viewportSize .width } px` : undefined
124
124
}
125
125
},
126
126
[
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export default {
32
32
class: ' viewport' ,
33
33
style: {
34
34
width: ' 100%' ,
35
+ height: ' 100%' ,
35
36
position: ' relative' ,
36
37
overflow: ' hidden'
37
38
},
You can’t perform that action at this time.
0 commit comments