added outside dots
This commit is contained in:
parent
c1af3facb0
commit
8738f4d304
2 changed files with 15 additions and 4 deletions
|
@ -101,7 +101,7 @@
|
||||||
dotsClasses () {
|
dotsClasses () {
|
||||||
return [
|
return [
|
||||||
`${prefixCls}-dots`,
|
`${prefixCls}-dots`,
|
||||||
`${prefixCls}-arrow-${this.dots}`
|
`${prefixCls}-dots-${this.dots}`
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
activeDot (n) {
|
activeDot (n) {
|
||||||
|
|
|
@ -105,11 +105,22 @@
|
||||||
&-dots {
|
&-dots {
|
||||||
@padding: 7px;
|
@padding: 7px;
|
||||||
|
|
||||||
position: absolute;
|
position: relative;
|
||||||
bottom: 10px - @padding;
|
&-inside {
|
||||||
|
position: absolute;
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue