Add bound checks for resizing right dock (#32246)

Closes #30293


[Before](https://github.com/user-attachments/assets/0b95e317-391a-4d90-ba78-ed3d4f10871d)
|
[After](https://github.com/user-attachments/assets/23002a73-103c-4a4f-a7a1-70950372c9d9)

Release Notes:

- Fixed right panel expanding in backwards, when dragged out of its
intended bounds, by adding a bounds check to ensure its size never gets
to high.
54b4587f9asmaster committed on 6/9/2025, 10:39:53 AM· committed by GitHubparent1fe1011
1 file changedLine totals unavailable