challenge-vtex-io-andrea-ma.../styles/css/vtex.flex-layout.css

34 lines
825 B
CSS

/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.flexRowContent--productMain {
padding: 0 40px;
gap: 32px;
}
@media only screen and (min-width: 1920px) {
.flexRowContent--productMain {
padding: 0 360px;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--productMain {
flex-direction: column;
}
.flexRowContent--productMain .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--productMain .stretchChildrenWidth :first-child {
padding-right: 0;
}
}
@media only screen and (max-width: 1024px) and (max-width: 639px) {
.flexRowContent--productMain .stretchChildrenWidth:first-child {
margin-bottom: 32px;
}
}