The `map` class is applied to the map element by LeafletJS; using it in the container led to hacks like adding an `inline` class to fix the fact that the container was using the `height` rule of the `.map` elements. Even though we don't add styles for them, I'm adding the `budgets-map` and `budget-investments-map` HTML classes so these elements can still be easily selected with CSS and JavaScript.
5 lines
137 B
Plaintext
5 lines
137 B
Plaintext
<div class="budgets-map">
|
|
<h2><%= t("budgets.index.map") %></h2>
|
|
<%= render_map(nil, investments_coordinates: coordinates) %>
|
|
</div>
|