Limit testcase box height in contributions

Contributions with many testcases can gets lengthy as they may, potentially causing users to suffer from Carpal tunnel syndrome (not that we programmers haven’t got it already…).

I have applied the following CSS rule as a quick fix:

.input-content {
  height: 400px;
}

It appears that IDE testcase boxes are limited to 280px as well:

.cg-ide-testcases-details .testcase-content-texts {
    display: flex;
    height: 280px;
    position: relative;
}

There’s an old topic regarding making testcase boxes collapsible; unfortunately, noone replied and it remains dust-covered for 3 years: Make Test Cases Collapsible on Contribution Page.