The table of maps for the 1, 2, and 4 maps needs to be built dynamically
Closed this issue · 0 comments
hardnett commented
In working on the titles for the tables. I was testing the idea with 1, 2, and 4 tables. I found out then that the table that holds the maps had some hard-coded styling that made appear to work, but in reality is was not working properly. The problem is that we have a static table that will always have at least 2 rows. So even if the other cells are not showing, the table will just have a row below the single map that is empty and this makes the single map appear to be taking only half of the space. The solution is going to be:
- don't have a table for a single map
- build a 1 row table for 2 maps
- build a 2 row table for 4 maps
This is likely to affect display.maps.js and top.bar.js (where the update takes place).