diff --git a/public/css/style.css b/public/css/style.css index 4cf1d69..8e47d42 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -14,7 +14,7 @@ html body h3 {font-family: Ubuntu, sans-serif;} div#map {width: 100%; position: absolute; top: 0; bottom: 0px;} body.openBox div#map {right: 250px;} div.clear {clear: both;} -div.infoCard {text-align: justify;} +div.infoCard {text-align: justify; height: 258px; overflow-y: auto; padding-right: 4px;} div.infoCard h3 {text-align: center; margin-top: 0;} div.infoCard div.photoContainer {position: relative; width: 200px;height: 150px;float: left;margin-right: 10px;margin-bottom: 10px; background-color: #fdfdfd; } div.infoCard img {width: 200px; margin: 0; cursor: pointer;} @@ -167,4 +167,5 @@ img.imageInArticle {border: solid 3px white;max-width: 100%;} @media screen and (max-width:400px) { a.randomPointAImg {margin: 0 0 10px 0; display: block;width: 100%;text-align: center;} + div.infoCard div.photoContainer {float: none; margin: 0 auto 10px auto;} } diff --git a/public/js/map.js b/public/js/map.js index e586c6d..8122539 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -322,7 +322,7 @@ function drawInfoPopup(id, showPopup, doNotPushToHistory) { description = '