Horizontal Tablet Breakpoint

I have an issue with the tablet’s horizontal view/breakpoint. I noticed this issue when I accidentally flipped my tablet, and everything was pushed to the edges as if there was no padding or margins!
I checked and noticed that on the tablet’s breakpoint, as soon as it hits 991 width, it loses all the paddings.
I know that some people had a similar issue, and they were able to fix it with a custom code [My knowledge of code is very limited]. I appreciate it if someone helps me with this.