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 () { dotsClasses () {
return [ return [
`${prefixCls}-dots`, `${prefixCls}-dots`,
`${prefixCls}-arrow-${this.dots}` `${prefixCls}-dots-${this.dots}`
] ]
}, },
activeDot (n) { activeDot (n) {

View file

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