From f07e03a4a77cba37df58c0e2928ea6ca57b1b27b Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Tue, 1 Jul 2014 19:42:13 +0400 Subject: [PATCH] =?UTF-8?q?FIX=20=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=83=20=D0=B4=D0=BB=D0=B8=D0=BD=D0=BD=D1=8B=D1=85=20?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BE=D0=BA=20=D1=81=20?= =?UTF-8?q?=D0=BA=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D0=B8=D0=BC=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/style.css | 1 + public/js/map.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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();