# HG changeset patch # User Brian Neal # Date 1411959909 18000 # Node ID 497c720f9d0dc1bc65cc4e9b6bf0a9602cfdfd58 # Parent c285a86fb4d5c22f75bbc1a24c230bd2a8ed7a69 Bandmap: add CSS to balloon to force size. Otherwise text was getting cut off or scrollbars appearing randomly. diff -r c285a86fb4d5 -r 497c720f9d0d bandmap/static/css/bandmap.css --- 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; +} diff -r c285a86fb4d5 -r 497c720f9d0d bandmap/static/js/bandmap.js --- 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);