In mobile view, I am looking to make the overlay expand to cover all the content, which consists of 4 rows with 2 cells per row totaling 7 cells. The last row only has one cell.
The code I have written works well on desktop view but my need is to have the overlay cover all content in mobile view. Check out this image for reference.