You should consider wrapping both Data Grids in a container where you apply custom styling to. This styling could be a flexbox or a css grid container.
By also explicitly setting the height of the data grids to a maximum of half the page, a scrollbar should appear if they become larger than that