Open scMarth opened 6 years ago
Upon closer inspection, it looks like the scroll bar on the first map disappears when the second map is added. Height of the 'odswidget-map-display-control__groups' also increases and becomes fixed, instead of scaling as it does when there is just one map.
It's strange that the first map's overflow properties and layer tab would be affected by the presence of the second map.
I'm running into an issue with the layer tab or display-control of ods-map widgets.
There is one map where the layer tab looks fine:
If I navigate the legend in the bottom-right such that it expands in height, the display-control's height becomes smaller to compensate, which is what I want:
However, when I add a second map, it somehow affects the first map:
Now, the display-control or layers tab will overlap with the legend, which isn't what I want.
Somehow, by adding a second map, it affects the first map. I have not touched the stylesheet at all, and I can consistently reproduce this bug by only changing the html (adding the second map), so I'm fairly certain that it is not the CSS.