From 844d6b4a846f302e4d4b476ff7ae111006a29a5c Mon Sep 17 00:00:00 2001 From: devartes Date: Fri, 25 Nov 2022 08:27:13 -0300 Subject: [PATCH] =?UTF-8?q?style:=20substitui=C3=A7=C3=A3o=20de=20breakpoi?= =?UTF-8?q?nt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/partials/slider.scss | 22 +++++++++++++++------- src/styles/utils/variables.scss | 2 +- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/styles/partials/slider.scss b/src/styles/partials/slider.scss index 2885fe8..2702665 100644 --- a/src/styles/partials/slider.scss +++ b/src/styles/partials/slider.scss @@ -291,6 +291,12 @@ h2 { } } +@media(width: $breakpoint-desk-1440) { + .slider-content { + width: 279px !important; + } +} + @media (max-width: $breakpoint-desk) and (min-width: $breakpoint-desk-2425) { .slider-container { h2 { @@ -303,21 +309,23 @@ h2 { min-height: 768px; & img { width: 544px; - height: 400px; + height: 400px !important; } & h3 { font-weight: 700; - font-size: 48px; - line-height: 56px; - height: 120px; + font-size: 48px !important; + line-height: 56px !important; + height: 120px !important; } & figcaption { font-weight: 400; - font-size: 32px; - line-height: 48px; - max-height: 192px; + font-size: 32px !important; + line-height: 48px !important; + max-height: 192px !important; } } } } } + + diff --git a/src/styles/utils/variables.scss b/src/styles/utils/variables.scss index 6565e5a..efeab72 100644 --- a/src/styles/utils/variables.scss +++ b/src/styles/utils/variables.scss @@ -22,7 +22,7 @@ $breakpoint-tablet: 1025px; $breakpoint-mobile: 491px; -$breakpoint-desk-1455: 1455px; +$breakpoint-desk-1440: 1440px; $breakpoint-desk-1907: 1907px;