Fixed styling of legend item title input