A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
Aren't options 1 and 3 a bit too drastic just to solve a bug that's most probably not hardware-related? My version of OneNote is 202206 which means that it's a June 2022 version and it so happened that I first encountered this problem last month which was also June or probably last 2 weeks of May. And, even if this is hardware-related, why are not all pages affected?
I did option 2 and opened the notebook with the bug in a newly created local account but the problem remained.
I created a shareable test notebook as instructed which includes some pages that have this problem. For some reason, the content of the pages were moved to the extreme left side of the page when viewed on browser. I tried moving them a bit to the center to see if that fixes the problem but that only moved the text box to the center. The margins are still not displayed.
I just realized now that the bug is most likely treating the page as if it's viewed on a mobile phone since viewing OneNote pages on phones usually cut off the margins by default. Normally, the margins should return when viewed on the desktop version as it did before but since last month, that stopped happening in certain pages.
One of the pages included in the test notebook was originally created on desktop and was never viewed on mobile so I don't think viewing them on mobile triggers this.
Sometimes to find the root cause, we need to look a little bit deeper. This kind of display problem is often due to compatibility issues between the programs you have installed (whether OneNote or others) and your hardware, and sometimes programs interfere with each other. That's why I suggest you disable hardware graphics acceleration and perform a clean boot. Of course, if you've already tried these and the result is the same, you can ignore these two suggestions.
I've downloaded the test notebook in my device and I didn't encounter the same problem indeed, with the same version of OneNote and Windows. There is simply no scrollbar at the bottom of the page. So I can't confirm that this is definitely a bug in OneNote or Windows. If you don't have another device, you can ask your family or your friends to have a try on their device, or wait for another member's feedback in Microsoft Community.
If the problem persists after you've tried everything, please let me know.