Skip to content

Commit

Permalink
Added a fix for the greedy arrows class.
Browse files Browse the repository at this point in the history
According to https://github.com/tschallacka/liquidslider/blob/master/src/js/jquery.liquid-slider.js#L173-L176 all liquidslider items are wrapped in an item with ls-wrapper.
I added this as a prefix to the arrow class due to the fact that this greedy arrow selector messes up other parts of the site without a liquid slider
By adding the prefix the arrows should stay within their designated area.
  • Loading branch information
mdibbets committed Jun 6, 2019
1 parent 5eb8b65 commit 9eb0997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/liquid-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
.ls-nav-left-arrow a, .ls-nav-right-arrow a {
display: block;
}
[class$="-arrow"] {
.ls-wrapper [class$="-arrow"] {
width: 25px;
height: 25px;
background-image: url(../images/arrow.png);
Expand Down

0 comments on commit 9eb0997

Please sign in to comment.