Responsively close notebook and notes lists depending on window width

A very common note taking workflow is position Joplin on 50% of the screen while being on a Zoom call or having a website open on the other 50%.

But, there's simply not enough room to show all three panels - Notebooks, notes and than the selected note itself. I could open and close the panels manually every time, but I think it'll be nice to automatically close and open the notes panel based on window size (auto closing notes vs notebooks makes more sense as you can easily switch between notes with cmd + p).

Apple notes has this feature:

Can this be done with some CSS or a plugin?