Like Gmail view for list order

Hello, I use Framework7 v5.

I need a page where have a norma list order like gmail. When I click on one mail it’s open a detail.

But, when I view the app on landscape or on tablet I need a view the list of order on the left and the detail on the right…

It’s possible ???


Yes, you can use CSS Media queries to detect if the device is in portrait or landscape mode, and change your HTML accordingly. There are also Cordova plugins that allow you to interact with the device’s built-in gyroscope to detect portrait or landscape modes, and re-render your interface via Javascript.

For two layout i messaggi ti create two page or different script ?