From 2c3a5cbb012e5444046f3648b9c68b1ed802ace9 Mon Sep 17 00:00:00 2001 From: vic-knyazeva Date: Sat, 7 Dec 2024 01:42:56 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20#?= =?UTF-8?q?3=20=D0=BF=D0=BE=20=D0=B7=D0=B0=D0=BC=D0=B5=D1=87=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=D0=BC=20=D0=BD=D0=B0=D1=81=D1=82=D0=B0=D0=B2=D0=BD?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/styles/blocks/hero.scss | 3 +++ source/styles/blocks/navigation.scss | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/styles/blocks/hero.scss b/source/styles/blocks/hero.scss index a7c303d..66da324 100644 --- a/source/styles/blocks/hero.scss +++ b/source/styles/blocks/hero.scss @@ -35,6 +35,9 @@ @media (min-resolution: 2x) { .hero::before { background: linear-gradient(rgba(104, 183, 56, 0.85), rgba(104, 183, 56, 0.85)), url("../../images/index-background-mobile@2x.webp"); + background-repeat: no-repeat; + background-size: cover, cover; + background-position: center center; @media (min-width: $desktop-width) { background: linear-gradient(rgba(104, 183, 56, 0.85), rgba(104, 183, 56, 0.85)), url("../../images/index-background-desktop@2x.webp"); diff --git a/source/styles/blocks/navigation.scss b/source/styles/blocks/navigation.scss index 1d4d8f7..8abea83 100644 --- a/source/styles/blocks/navigation.scss +++ b/source/styles/blocks/navigation.scss @@ -22,7 +22,6 @@ } } -.navigation--inner .navigation__wrapper, .navigation--nojs .navigation__wrapper, .navigation--opened.navigation--nojs .navigation__wrapper, .navigation--closed.navigation--nojs .navigation__wrapper {