From 8e246bbf5851e95712b637e1e2da21aa3bad9e75 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio Date: Wed, 8 Feb 2023 14:21:35 -0300 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20altera=20margens=20t=C3=ADtulo?= =?UTF-8?q?=20prateleira?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/css/vtex.product-price.css | 6 ++++++ styles/css/vtex.rich-text.css | 3 ++- styles/sass/pages/product/vtex.product-price.scss | 6 ++++++ styles/sass/pages/product/vtex.rich-text.scss | 3 ++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/styles/css/vtex.product-price.css b/styles/css/vtex.product-price.css index d8d7fe9..a33f3cc 100644 --- a/styles/css/vtex.product-price.css +++ b/styles/css/vtex.product-price.css @@ -149,4 +149,10 @@ .sellingPrice--hasListPrice { margin-bottom: 32px; +} + +@media (max-width: 1024px) { + .sellingPrice--hasListPrice { + margin-bottom: 24px; + } } \ No newline at end of file diff --git a/styles/css/vtex.rich-text.css b/styles/css/vtex.rich-text.css index d1471d8..e97a3c6 100644 --- a/styles/css/vtex.rich-text.css +++ b/styles/css/vtex.rich-text.css @@ -13,11 +13,12 @@ font-weight: 400; font-size: 24px; line-height: 38px; + margin: 16px 0 32px 0; } @media (max-width: 1024px) { .heading-level-1 { - margin-top: 16px; + margin: 16px 0 24px 0; } } @media (max-width: 767px) { diff --git a/styles/sass/pages/product/vtex.product-price.scss b/styles/sass/pages/product/vtex.product-price.scss index 94c5b44..5995e4a 100644 --- a/styles/sass/pages/product/vtex.product-price.scss +++ b/styles/sass/pages/product/vtex.product-price.scss @@ -141,3 +141,9 @@ .sellingPrice--hasListPrice { margin-bottom: 32px; } + +@media (max-width: 1024px) { + .sellingPrice--hasListPrice { + margin-bottom: 24px; + } +} diff --git a/styles/sass/pages/product/vtex.rich-text.scss b/styles/sass/pages/product/vtex.rich-text.scss index 57b4ab1..8a25519 100644 --- a/styles/sass/pages/product/vtex.rich-text.scss +++ b/styles/sass/pages/product/vtex.rich-text.scss @@ -3,11 +3,12 @@ font-weight: 400; font-size: 24px; line-height: 38px; + margin: 16px 0 32px 0; } @media (max-width: 1024px) { .heading-level-1 { - margin-top: 16px; + margin: 16px 0 24px 0; } } From c509baa233037b04f515a7192e99267c2ac3eef6 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio Date: Wed, 8 Feb 2023 14:30:54 -0300 Subject: [PATCH 2/2] refactor: ajusta fontes prateleira 1024px --- styles/css/vtex.product-price.css | 6 ++++++ styles/sass/pages/product/vtex.product-price.scss | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/styles/css/vtex.product-price.css b/styles/css/vtex.product-price.css index a33f3cc..b63b44a 100644 --- a/styles/css/vtex.product-price.css +++ b/styles/css/vtex.product-price.css @@ -155,4 +155,10 @@ .sellingPrice--hasListPrice { margin-bottom: 24px; } + .listPrice--product-list-price { + font-size: 12px; + } + .sellingPriceValue { + font-size: 18px; + } } \ No newline at end of file diff --git a/styles/sass/pages/product/vtex.product-price.scss b/styles/sass/pages/product/vtex.product-price.scss index 5995e4a..d017fb5 100644 --- a/styles/sass/pages/product/vtex.product-price.scss +++ b/styles/sass/pages/product/vtex.product-price.scss @@ -146,4 +146,12 @@ .sellingPrice--hasListPrice { margin-bottom: 24px; } + + .listPrice--product-list-price { + font-size: 12px; + } + + .sellingPriceValue { + font-size: 18px; + } }