Skip to content
Permalink
Browse files

Added a fix for the greedy arrows class.

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 9eb0997bdcb6fd6647cad7674cc860b91d8795c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 css/liquid-slider.css
@@ -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);

0 comments on commit 9eb0997

Please sign in to comment.
You can’t perform that action at this time.