Problem/Motivation
I just upgraded my site from Drupal 9.5.9 to 10.1.0. The migration broke one Claro-related issue on my site. Specifically, when users edit certain content types, the columnar layout that's supposed to appear doesn't work, which leads the input form to show up about 700px to the right, with a big whitespace along the left gutter. Oddly, it only happens for some content types, while many others are fine. I can't find any systematic difference between working and broken content types.
Steps to reproduce
Upgrade from 9.5.9 to 10.1 and edit an Article page.
Proposed resolution
I was able to compare the faulty portion of the code to code that was working in my 9.5.9 install, and from that generated the attached patch. That *seems* to fix things. But I have not tested the patch at all. In fact, I'm not even sure if patching Claro is an option--this is way outside my area of expertise. I'm including the patch only to show which region of the codebase seems to be where the issue lives.