Problem/Motivation
When adding/editing a block in layout builder, if you resize the browser then the off-canvas sidebar doesn't re-position itself correctly.
Steps to reproduce
- use Drupal 10.0.9, or 9.5.9
- enable layout builder and turn it on for a content type
- create a page using the layout builder content type
- edit the layout for the page
- click "Add section"
- resize the right side of browser
Expected behaviour
The layout builder sidebar should move with the right side of the browser.
Actual behaviour
Sidebar stays in one place, or jumps around.
I think it has something to do with this change: https://git.drupalcode.org/project/drupal/-/commit/e2d11b5fff7ba50dbb18f...