Fixed css for warning to be for span instead of div