refine editor styles