css fix for the new legend