added outside dots

This commit is contained in:
Rijn 2017-01-17 14:39:17 -06:00
parent c1af3facb0
commit 8738f4d304
2 changed files with 15 additions and 4 deletions

View file

@ -101,7 +101,7 @@
dotsClasses () {
return [
`${prefixCls}-dots`,
`${prefixCls}-arrow-${this.dots}`
`${prefixCls}-dots-${this.dots}`
]
},
activeDot (n) {

View file

@ -105,11 +105,22 @@
&-dots {
@padding: 7px;
position: absolute;
bottom: 10px - @padding;
position: relative;
&-inside {
position: absolute;
bottom: 10px - @padding;
}
&-outside {
margin-top: 10px - @padding;
}
display: block;
&-none {
display: none;
}
list-style: none;
display: block;
text-align: center;