Skip to content

Commit

Permalink
Merge pull request #20 from dynamicweb/19-mousedrag-on-mobile-issue
Browse files Browse the repository at this point in the history
Enclose dragging area in hover : hover
  • Loading branch information
nicped authored Feb 23, 2022
2 parents ed66fec + a3a03bf commit 55e3a64
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 55e3a64

Please sign in to comment.