Vertically stacked legend blocks adopt the size of the largest legend block, which can lead to odd looking results. [Minimal codepen](https://codepen.io/MojtabaSamimi/pen/qBPzwPm?editors=0010) Each legend block should calculate the required height individually and no unnecessary whitespace should be created.