Skip to content

Commit 3457bab

Browse files
committed
fix: remove unnecessary !important from Carousel CSS styles
1 parent f02122c commit 3457bab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Carousel/Carousel.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
gap: var(--vc-slide-gap);
2121
height: 100%;
2222
list-style: none;
23-
margin: 0 !important;
24-
padding: 0 !important;
23+
margin: 0;
24+
padding: 0;
2525
position: relative;
2626
transition: transform ease-out;
2727
transition-duration: var(--vc-transition-duration);
@@ -70,12 +70,12 @@
7070

7171
.carousel.is-effect-fade .carousel__slide {
7272
grid-area: 1 / 1;
73-
height: 100% !important;
73+
height: 100%;
7474
opacity: 0;
7575
pointer-events: none;
7676
transition: opacity ease-in-out;
7777
transition-duration: var(--vc-transition-duration);
78-
width: 100% !important;
78+
width: 100%;
7979
}
8080

8181
.carousel.is-effect-fade .carousel__slide--active {

0 commit comments

Comments
 (0)