Mercurial > public > sg101
changeset 833:497c720f9d0d
Bandmap: add CSS to balloon to force size.
Otherwise text was getting cut off or scrollbars
appearing randomly.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Sep 2014 22:05:09 -0500 |
parents | c285a86fb4d5 |
children | 89a3a6433f6f |
files | bandmap/static/css/bandmap.css bandmap/static/js/bandmap.js |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bandmap/static/css/bandmap.css Sun Sep 28 21:12:01 2014 -0500 +++ b/bandmap/static/css/bandmap.css Sun Sep 28 22:05:09 2014 -0500 @@ -7,3 +7,7 @@ #map-info { margin-top: 2em; } +div.band-balloon { + width: 150px; + height: 75px; +}
--- a/bandmap/static/js/bandmap.js Sun Sep 28 21:12:01 2014 -0500 +++ b/bandmap/static/js/bandmap.js Sun Sep 28 22:05:09 2014 -0500 @@ -56,7 +56,6 @@ icon: band.is_active ? "http://maps.google.com/mapfiles/ms/icons/green-dot.png" : "http://maps.google.com/mapfiles/ms/icons/red-dot.png", map: bandmap - }); google.maps.event.addListener(marker, 'click', function() { info_win.setContent(band.note);