Skip to content

Commit

Permalink
fix(element): fix element styles to have correct order override
Browse files Browse the repository at this point in the history
fixes #7704
  • Loading branch information
nolimits4web committed Aug 28, 2024
1 parent c11172a commit f26036f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/modules/effect-cards/effect-cards.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.swiper-cards {
.swiper.swiper-cards {
overflow: visible;
}
.swiper {
.swiper-slide {
transform-origin: center bottom;
backface-visibility: hidden;
Expand Down
4 changes: 3 additions & 1 deletion src/modules/effect-cards/effect-cards.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.swiper-cards {
.swiper.swiper-cards {
overflow: visible;
}
.swiper-cards {
.swiper-slide {
transform-origin: center bottom;
backface-visibility: hidden;
Expand Down
4 changes: 3 additions & 1 deletion src/modules/effect-cube/effect-cube.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.swiper-cube {
.swiper.swiper-cube {
overflow: visible;
}
.swiper-cube {
.swiper-slide {
pointer-events: none;
backface-visibility: hidden;
Expand Down
4 changes: 3 additions & 1 deletion src/modules/effect-cube/effect-cube.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.swiper-cube {
.swiper.swiper-cube {
overflow: visible;
}
.swiper-cube {
.swiper-slide {
pointer-events: none;
backface-visibility: hidden;
Expand Down
4 changes: 3 additions & 1 deletion src/modules/effect-flip/effect-flip.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.swiper-flip {
.swiper.swiper-flip {
overflow: visible;
}
.swiper-flip {
.swiper-slide {
pointer-events: none;
backface-visibility: hidden;
Expand Down
4 changes: 3 additions & 1 deletion src/modules/effect-flip/effect-flip.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.swiper-flip {
.swiper.swiper-flip {
overflow: visible;
}
.swiper-flip {
.swiper-slide {
pointer-events: none;
backface-visibility: hidden;
Expand Down

0 comments on commit f26036f

Please # to comment.