Carousel update fixed
parent
f77c74e032
commit
b3ea9f12f6
|
@ -433,6 +433,8 @@ export default {
|
|||
}
|
||||
|
||||
this.d_oldNumScroll = this.d_numScroll;
|
||||
this.d_oldNumVisible = this.d_numVisible;
|
||||
this.d_oldValue = this.value;
|
||||
|
||||
this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100/ this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100/ this.d_numVisible)}%, 0, 0)`;
|
||||
}
|
||||
|
|
|
@ -166,7 +166,7 @@ export default {
|
|||
}
|
||||
|
||||
&.custom-carousel {
|
||||
.p-carousel-dot-icon {
|
||||
/deep/ .p-carousel-dot-icon {
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
border-radius: 50%;
|
||||
|
|
Loading…
Reference in New Issue