diff --git a/public/css/style.css b/public/css/style.css index 1670a94..29415e5 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -10,6 +10,7 @@ html {height: 100%;} body {margin: 0; padding: 0; height: 100%; width: 100%; overflow: hidden;} div#map {width: 100%; position: absolute; top: 0; bottom: 0px;} body.openBox div#map {right: 250px;} +div.clear {clear: both;} div.infoCard h3 {text-align: center; margin-top: 0;} div.infoCard img {width: 200px; float: left; margin: 0 10px 5px 0; cursor: pointer;} div.header {display: block; position: absolute; top: 0; left: 110px; border-radius: 0 0 5px 5px; z-index: 1000; background-color: #FFF; padding: 5px 10px;} diff --git a/public/js/map.js b/public/js/map.js index 9fe7a5f..5895385 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -183,7 +183,7 @@ function showInfo(id) if (data.source.length > 11) description = description + ' Подробнее...'; - description = description + ''; + description = description + '
'; marker.options.description = description; marker.bindPopup(marker.options.description, {maxWidth: 500, maxHeight: 300}).openPopup();