I'm creating some kind of inbox screen. So I have my menu on the left side, and next to it there is a list of messages. I created this screen with the help of bootstrap's grid system.
When you select a message it will show up at the right side of the screen. But when the screen is too small, it hides the message (hidden-xs, hidden-sm). What should happen is that when I select a message it should show up on the same screen, this works already. But when the screen is to small it should navigate to a different page.
The only question I got is how do I change the action based on the screen size or css attribute (visibility: hidden)?
So when the screen is md or lg the message displays on the same screen, else it will route to another component.