ajustes na imagem do produto

This commit is contained in:
Emerson Fully 2023-02-09 20:08:49 -03:00
parent 516545c356
commit 7581931249
5 changed files with 51 additions and 11 deletions

View File

@ -112,4 +112,19 @@
background-color: white; background-color: white;
border-bottom: 4px solid black; border-bottom: 4px solid black;
color: black; color: black;
}
@media screen and (max-width: 1024px) {
[class*="vtex-tab-layout-0-x-listItem"] button {
border: none;
width: 100%;
display: flex;
}
[class*="vtex-tab-layout-0-x-listItemActive"] button {
width: 100%;
display: flex;
border: none;
}
} }

View File

@ -26,12 +26,14 @@
position: relative; position: relative;
} }
.flexRow--btn-product { @media screen and (min-width: 769px) {
width: 100%; .flexRow--btn-product {
max-width: 400px; width: 100%;
position: absolute; max-width: 400px;
top: 366px; position: absolute;
left: 158px; top: 366px;
left: 158px;
}
} }
.flexRow--btn-product :global(.vtex-button) { .flexRow--btn-product :global(.vtex-button) {
background-color: black; background-color: black;

View File

@ -249,6 +249,11 @@
margin-right: 16px; margin-right: 16px;
width: 50%; width: 50%;
} }
@media screen and (max-width: 1024px) {
.content--imagem-descricao {
width: 100%;
}
}
.productDescriptionContainer { .productDescriptionContainer {
width: 50%; width: 50%;
@ -352,4 +357,10 @@
.sellingPrice { .sellingPrice {
font-weight: bolder; font-weight: bolder;
}
@media screen and (max-width: 1024px) {
.productImageTag--imagem-descricao--main {
max-height: 1100px !important;
}
} }

View File

@ -17,11 +17,13 @@
} }
.flexRow--btn-product { .flexRow--btn-product {
width: 100%; @media screen and (min-width: 769px) {
max-width: 400px; width: 100%;
position: absolute; max-width: 400px;
top: 366px; position: absolute;
left: 158px; top: 366px;
left: 158px;
}
:global(.vtex-button) { :global(.vtex-button) {
background-color: black; background-color: black;

View File

@ -278,6 +278,10 @@
.content--imagem-descricao { .content--imagem-descricao {
margin-right: 16px; margin-right: 16px;
width: 50%; width: 50%;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
.productDescriptionContainer { .productDescriptionContainer {
@ -398,3 +402,9 @@
.sellingPrice { .sellingPrice {
font-weight: bolder; font-weight: bolder;
} }
.productImageTag--imagem-descricao--main {
@media screen and (max-width: 1024px) {
max-height: 1100px !important;
}
}