Steps to reproduce:
1. Create a new Unity project using the Universal 3D template
2. Create a Cube GameObject (GameObject > 3D Object > Cube)
3. Open the Animation window (Window > Animation > Animation)
4. Create a new animation
5. Open the Animator window (Window > Animation > Animator)
6. Create Sub-State Machine
7. In the Inspector window add Script component (“Add Behaviour”)
8. Observe the Script Component Header
Actual results: there is a space between script header and Inspector window
Expected results: no space between the header and Inspector window (example: Mesh Renderer, Box Collider in the Inspector)
Reproducible with versions: 2022.3.64f1, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2
Tested on (OS): macOS Silicon, Sequoia 15.5