forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #1
@ -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 */
|
||||
|
||||
:global(.agenciamagma-store-theme-5-x-html--cart-content) {
|
||||
@ -16,8 +54,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
[data-testid="product-quantity"] {
|
||||
height: 49px;
|
||||
}
|
||||
@ -25,3 +61,43 @@
|
||||
[data-testid="add-to-cart-button"] {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user