Skip to content

Commit b7ebeec

Browse files
authored
Merge pull request #4 from 7tonin/revert-3-revert-1-7tonin-patch-1
Revert "Revert "jcarousel items are wider""
2 parents 28f3a93 + 1dd1a95 commit b7ebeec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/osm-map2.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ function toggle(arrow)
475475
476476
/* Update jcarousel and all witdh*/
477477
if (nb_items>0) {
478-
var nb_items_width = nb_items*45; /* img is 40px + margin 5px */
478+
var nb_items_width = nb_items*55; /* img is 40px + margin 5px + ?? 10px */
479479
var document_width = $( document ).width();
480480
var nav_width = document.getElementById('ribbon-map-nav').offsetWidth;
481481
var results_width = document.getElementById('ribbon-map-results').offsetWidth;

0 commit comments

Comments
 (0)