[BUG] Structured text editor tooltip menu should wrap when at the edges of browser window

Not sure if it’s the right category. Here’s what I mean:
Capture d’écran 2023-12-12 à 10.35.05

As you can see, the menu overflow is hidden when it reaches the end of the browser’s window. This happens when the sidebar is closed.

Of course, I can modify the text elsewhere or open the sidebar, it’s really not a huge deal, but thought it would be nice in terms of UI.