fixing the style of the grid