How to Maintain Container Layout on Mobile Devices

Seeing a desire to maintain a container layout that is not responsive to mobile devices, you can still achieve this through the “grid-template-columns” code.

Here’s the code you need to add to your application’s custom CSS:

Note: class name is grid-container

.grid-container .oneToOne {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
}

10 Likes

Added to the library, thank you!

1 Like