Skip to content

Commit

Permalink
Enclose dragging area in hover : hover
Browse files Browse the repository at this point in the history
  • Loading branch information
nicped committed Feb 22, 2022
1 parent ed66fec commit a3a03bf
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
12 changes: 7 additions & 5 deletions dist/css/swiffy-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,13 @@
user-select: none;
}

.slider-nav-mousedrag .slider-container::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
@media (hover: hover) {
.slider-nav-mousedrag .slider-container::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
}
}

@media (prefers-reduced-motion: no-preference) {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/swiffy-slider.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/swiffy-slider.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a3a03bf

Please sign in to comment.