I am facing a dilemma in my NextJS app. On the /home
page, I need to hide the x and y overflow, while on the /books
page, I want the user to be able to scroll freely. The issue is that Next only allows for one global stylesheet and using global CSS selectors like body
is not allowed in CSS modules. I'm stuck trying to figure out how to resolve this conflict. Any suggestions?