Fixes to legend css and text