challenge-vtex-io-andrea-ma.../styles/sass/pages/product/vtex.flex-layout.scss

46 lines
716 B
SCSS
Raw Normal View History

/* ----- PRODUCT-MAIN ----- */
.flexRowContent--productMain {
padding: 0 40px;
gap: 32px;
justify-content: center;
@include mq(xl, min) {
padding: 0 360px;
}
@include mq(lg, max) {
flex-direction: column;
.stretchChildrenWidth {
width: 100% !important;
:first-child {
padding-right: 0;
}
@include mq(md, max) {
&:first-child {
margin-bottom: 32px;
}
}
}
}
}
/* ----- RIGHT-COL ----- */
.flexCol--right-col {
// background-color: red;
.flexRowContent--product-name {
text-align: right;
@include mq(lg, max) {
text-align: left;
.stretchChildrenWidth {
margin: 0;
}
}
}
}