OpenWaterFoundation / owf-app-dev-ng

Open Water Foundation Angular application to develop common libraries
0 stars 1 forks source link

Map legend - layer name div is too tall #50

Open smalers opened 2 years ago

smalers commented 2 years ago

The latest version of InfoMapper (says 3.1.0 2022-03-11 but I think the version needs to be updated?) has map lend layer name areas that are too tall, leading to wasted space. The box should probably be no taller than the map title at the top of the legend. See the screen shot below. It looks like it has been this way for a while but it would be nice to improve.

image

smalers commented 2 years ago

Upon further review, what happens is that when the layer view is enabled, the height of the colored area is taller. When disabled, the size decreases. I'm not sure whether the change in height is necessary, but I can understand why it is occurring.

I'm changing the priority to medium. Evaluate this with a complex map and on mobile to decide whether a change is needed.