Css fixes for legends