This was inadvertently introduced with a recent switch to PatternFly theming variables being assigned to incorrect class.
Created attachment 1839419 [details] Modal scroll area has padding and misaligns shadows to top and bottom edges
Created attachment 1840763 [details] No Padding Cluster-version: 4.10.0-0.nightly-2021-11-04-001635 Now there is no padding in the modal box scroll element, attaching the screenshot
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056