codeforamerica / fast_pass

Las Vegas Development Opportunity Finder
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Some of map is showing through print view #51

Closed louh closed 10 years ago

louh commented 10 years ago

Related: the map view is currently not being hidden or shown depending on whether it's actually present on the page, because when it's shown after a page where it's not, the Google Map doesn't resize to take up the entire view. Resizing the browser manually will cause it to calculate. So far automated ways of detecting this change (equivalent to Leaflet's invalidateSize()) doesn't work.

The side effect is this bug, described in the title.

louh commented 10 years ago

Fixed by hiding map on print style sheets.