css fix for legend color selector popover