Skip to content

Commit

Permalink
Merge pull request #2966 from corvus-007/master
Browse files Browse the repository at this point in the history
Aligns slides in the center
  • Loading branch information
Greg Westneat authored Jul 27, 2017
2 parents 40cc0d4 + ef8c742 commit fda50ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slick/slick.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
left: 0;

display: block;
margin-left: auto;
margin-right: auto;
}
.slick-track:before,
.slick-track:after
Expand Down
2 changes: 2 additions & 0 deletions slick/slick.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
left: 0;
top: 0;
display: block;
margin-left: auto;
margin-right: auto;

&:before,
&:after {
Expand Down
2 changes: 2 additions & 0 deletions slick/slick.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
left: 0;
top: 0;
display: block;
margin-left: auto;
margin-right: auto;

&:before,
&:after {
Expand Down

0 comments on commit fda50ab

Please sign in to comment.