Two side-menus expose-aside-when not working

Hey guys!
I am trying to make an app with two side-menus which I want to show on tables by default (expose-aside-when).
I have the following issue

When I try to view it on a small screen it works as intendet but once the screen gets larger the left menu appears but the right one doesn’t. I can’t even interact with it anymore. Basicly the right menu is showing, but the viewports width is calculated without it in mind.

I made a codepen, with a stripped down version of my code.Click me!