Skip to content

Commit

Permalink
feat(navigation): default opacity: 0 styles for hidden navigation b…
Browse files Browse the repository at this point in the history
…uttons
  • Loading branch information
nolimits4web committed May 24, 2022
1 parent 81a4cc8 commit 85f72f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/navigation/navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
cursor: auto;
pointer-events: none;
}
&.swiper-button-hidden {
opacity: 0;
cursor: auto;
pointer-events: none;
}
&:after {
font-family: swiper-icons;
font-size: var(--swiper-navigation-size);
Expand Down
5 changes: 5 additions & 0 deletions src/modules/navigation/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
cursor: auto;
pointer-events: none;
}
&.swiper-button-hidden {
opacity: 0;
cursor: auto;
pointer-events: none;
}
&:after {
font-family: swiper-icons;
font-size: var(--swiper-navigation-size);
Expand Down

0 comments on commit 85f72f4

Please sign in to comment.