From 80b3c9e5d3a4984fe180e630e54bf3e582e9a6b2 Mon Sep 17 00:00:00 2001 From: Nikita Ovod Date: Thu, 7 Nov 2024 22:28:33 +0200 Subject: [PATCH] explicitly mention margin instead of "inherit" --- src/styles/blocks/card.scss | 11 +++++------ src/styles/blocks/header.scss | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/styles/blocks/card.scss b/src/styles/blocks/card.scss index eb9c76325e..936a852ec4 100644 --- a/src/styles/blocks/card.scss +++ b/src/styles/blocks/card.scss @@ -14,10 +14,6 @@ transform: scale(1.2); } - &:hover &__title { - color: #34568b; - } - &__title { margin-top: 206px; margin-bottom: 4px; @@ -30,6 +26,10 @@ padding-inline: $default-padding-inline; } + &:hover &__title { + color: #34568b; + } + &__product-code { font-family: $main-font-family; font-size: 10px; @@ -37,8 +37,7 @@ line-height: 14px; text-align: left; color: $secondary-text-color; - margin: inherit; - margin-bottom: 16px; + margin: 0 0 16px; padding-inline: $default-padding-inline; } diff --git a/src/styles/blocks/header.scss b/src/styles/blocks/header.scss index d00040d8d1..c428d736f9 100644 --- a/src/styles/blocks/header.scss +++ b/src/styles/blocks/header.scss @@ -3,7 +3,7 @@ align-items: center; justify-content: space-between; padding: 0 50px; - box-shadow: 0px 2px 4px 0px #0000000d; + box-shadow: 2px 4px #0000000d; &__logo-link { line-height: 0;