fix style bug in linear gradient