The problem is that through the comp, the block is stretched correctly, the entire width of the page, and through the tablet or phone, the div stretches to the edge of the screen, and when scrolling to the right or decreasing the scale, it remains there. The screen at the bottom with an example of a smaller scale. The block is marked with a red arrow.
What I tried and did not help:
body { width: 100%; height: 100%; } .div { min-width: 100%; min-height: 100%; position: relative; } 