I try to set the "overflow-y: hidden" on a specific component in Angular but it won't work and I can only apply it to the "body" element which ends up applying it to all components and cause problems.

How can I apply it to only one specific component? thanks