From f77c74e0322ea2838d164c13392e2495d99cf526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Tue, 22 Oct 2019 16:25:54 +0300 Subject: [PATCH] Refactor --- src/components/carousel/Carousel.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/carousel/Carousel.vue b/src/components/carousel/Carousel.vue index 736eda216..a73a56baa 100644 --- a/src/components/carousel/Carousel.vue +++ b/src/components/carousel/Carousel.vue @@ -408,6 +408,7 @@ export default { page = this.totalDots - 1; this.$emit('update:page', page); + this.d_page = page; stateChanged = true; } @@ -553,7 +554,7 @@ export default { overflow: auto; } -.p-carousel-dots-container { +.p-carousel .p-carousel-dots-container { display: flex; flex-direction: row; justify-content: center;