From e90b58b13a19b2247841d67c0d32634070558b46 Mon Sep 17 00:00:00 2001 From: Elvir Bekirov Date: Sun, 11 Aug 2024 23:36:08 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D1=83=D0=B5=D1=82=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=8D=D0=BC=D0=BE=D0=B4?= =?UTF-8?q?=D0=B7=D0=B8=20=D0=B2=20breadcrumbs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Учитывает коммит @TatianaFokina c добавлением пустой строки в конце файла --- src/styles/blocks/breadcrumbs.css | 4 ++++ src/styles/blocks/header.css | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/styles/blocks/breadcrumbs.css b/src/styles/blocks/breadcrumbs.css index 79345ce2e..32bc98853 100644 --- a/src/styles/blocks/breadcrumbs.css +++ b/src/styles/blocks/breadcrumbs.css @@ -20,3 +20,7 @@ flex-shrink: 1; min-width: 0; } + +.breadcrumbs__item:last-child .breadcrumbs__text { + padding-right: calc(var(--header-font-letter-spacing) * -1); +} diff --git a/src/styles/blocks/header.css b/src/styles/blocks/header.css index 993f168a9..94372cb0f 100644 --- a/src/styles/blocks/header.css +++ b/src/styles/blocks/header.css @@ -2,6 +2,7 @@ --header-bg-color: var(--accent-color, var(--color-background)); --search-input-height: 0.7em; --header-animation-time: 0.6s; + --header-font-letter-spacing: -0.06em; position: relative; z-index: 2; background-color: var(--color-background); @@ -90,7 +91,7 @@ .header__inner--main { font-size: var(--font-size-l); - letter-spacing: -0.06em; + letter-spacing: var(--header-font-letter-spacing); line-height: var(--font-line-height-l); font-family: var(--font-family); } @@ -116,7 +117,7 @@ grid-template-rows: var(--font-size-xl) repeat(3, auto); font-size: calc(var(--font-size-xl) * 0.95); line-height: calc(var(--font-line-height-xl) * 0.95); - letter-spacing: -0.06em; + letter-spacing: var(--header-font-letter-spacing); background-color: var(--color-background); transition: transform var(--header-animation-time) cubic-bezier(0.65, 0.05, 0.36, 1),