css: display legends correctly in Fx

In Fx the height of box of Legends could not fully displayed although
we set it to 100%.

Instead of that, set to 500px works.

Maybe a guy who is familiar to CSS could solve it.