Add grid margin and padding.