Our left panel which contains the palette can be expanded and collapsed. Initially, when the palette is expanded, this is how the grid looks.
Once the palette is collapsed the grid lines do not span across the entire grid canvas.
It is highlighted in the following picture.