Entrega do Desafio #1

Merged
anacarolinaduartecavalcante merged 93 commits from feature/challenge-vtex-io into develop 2023-02-03 17:14:03 +00:00
Showing only changes of commit 2d37c4620c - Show all commits

View File

@ -1,3 +1,41 @@
/* Product Main */
@media (max-width: 2561px) and (min-width: 1920px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 49.131% 49.131%;
column-gap: 32px;
width: 71.858%;
margin: 0 auto;
}
}
@media (max-width: 1920px) and (min-width: 1024px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 48.819% 48.819%;
padding: 0 40px;
column-gap: 32px;
}
}
@media (max-width: 1025px) and (min-width: 768px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px;
}
}
@media (max-width: 768px) and (min-width: 375px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px;
}
}
/* Product Quantity and Add To Cart Button */ /* Product Quantity and Add To Cart Button */
:global(.agenciamagma-store-theme-5-x-html--cart-content) { :global(.agenciamagma-store-theme-5-x-html--cart-content) {
@ -16,8 +54,6 @@
} }
} }
[data-testid="product-quantity"] { [data-testid="product-quantity"] {
height: 49px; height: 49px;
} }
@ -25,3 +61,43 @@
[data-testid="add-to-cart-button"] { [data-testid="add-to-cart-button"] {
width: 100%; width: 100%;
} }
/* Product Availability */
@media (max-width: 2561px) and (min-width: 1920px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block ) {
display: grid;
grid-template-columns: 49.131% 49.131%;
column-gap: 32px;
width: 71.858%;
margin: 0 auto;
}
}
@media (max-width: 1920px) and (min-width: 1024px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block ) {
display: grid;
grid-template-columns: 48.819% 48.819%;
padding: 0 40px;
column-gap: 32px;
}
}
@media (max-width: 1025px) and (min-width: 768px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block ) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px;
}
}
@media (max-width: 768px) and (min-width: 375px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block ) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px;
}
}