Commit 7c58b78e0e5b60e663c69c7c2295230cacf97455
1 parent
0dad17a2
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Improve pagination in block store
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
public/javascripts/block-store.js
| ... | ... | @@ -22,25 +22,25 @@ function stopDragBlock() { |
| 22 | 22 | |
| 23 | 23 | function initBlockStore() { |
| 24 | 24 | var store = jQuery('#block-store #block-types').slick({ |
| 25 | - infinite: true, | |
| 25 | + infinite: false, | |
| 26 | 26 | dots: true, |
| 27 | 27 | draggable: false, |
| 28 | 28 | respondTo: 'slider', |
| 29 | 29 | slidesToShow: 7, |
| 30 | - slidesToScroll: 4, | |
| 30 | + slidesToScroll: 6, | |
| 31 | 31 | responsive: [ |
| 32 | 32 | { |
| 33 | 33 | breakpoint: 2048, |
| 34 | 34 | settings: { |
| 35 | 35 | slidesToShow: 10, |
| 36 | - slidesToScroll: 4, | |
| 36 | + slidesToScroll: 9, | |
| 37 | 37 | } |
| 38 | 38 | }, |
| 39 | 39 | { |
| 40 | 40 | breakpoint: 1024, |
| 41 | 41 | settings: { |
| 42 | 42 | slidesToShow: 8, |
| 43 | - slidesToScroll: 4, | |
| 43 | + slidesToScroll: 7, | |
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | ] | ... | ... |