Skip to content

Commit

Permalink
Merge pull request #3 from 7tonin/revert-1-7tonin-patch-1
Browse files Browse the repository at this point in the history
Revert "jcarousel items are wider"
  • Loading branch information
7tonin authored Aug 9, 2018
2 parents bf96fc0 + 39aef85 commit 22f3b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/osm-map2.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ function toggle(arrow)
/* Update jcarousel and all witdh*/
if (nb_items>0) {
var nb_items_width = nb_items*55; /* img is 40px + margin 5px + ?? 10px */
var nb_items_width = nb_items*45; /* img is 40px + margin 5px */
var document_width = $( document ).width();
var nav_width = document.getElementById('ribbon-map-nav').offsetWidth;
var results_width = document.getElementById('ribbon-map-results').offsetWidth;
Expand Down

0 comments on commit 22f3b00

Please sign in to comment.