Fix stylesheet issue in adding gradient