The problem is a bit different. Initially, I set the block height and tested the final result in Firefox on a desktop, which allows you to see how the site will look on mobile devices. However, when I visited the site on my phone, I saw a completely different result, similar to what's shown in the screenshot. I also tested the site's display in Chrome on my phone, but with the desktop version setting selected, and I saw something I didn't like.
I've attached two screenshots: the first is Chrome on a phone (https://postimg.cc/hzBRHNWq), and the second is Chrome's desktop adaptation on a phone(https://postimg.cc/3y0qr1jq).
I think I'm doing something wrong, but I can't figure out how to best optimize it.