fix the widths and remove padding from templates displayed within editor