Skip to content

Commit

Permalink
explicitly mention margin instead of "inherit"
Browse files Browse the repository at this point in the history
  • Loading branch information
nikovod committed Nov 7, 2024
1 parent e35adb7 commit 80b3c9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/styles/blocks/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
transform: scale(1.2);
}

&:hover &__title {
color: #34568b;
}

&__title {
margin-top: 206px;
margin-bottom: 4px;
Expand All @@ -30,15 +26,18 @@
padding-inline: $default-padding-inline;
}

&:hover &__title {
color: #34568b;
}

&__product-code {
font-family: $main-font-family;
font-size: 10px;
font-weight: 400;
line-height: 14px;
text-align: left;
color: $secondary-text-color;
margin: inherit;
margin-bottom: 16px;
margin: 0 0 16px;
padding-inline: $default-padding-inline;
}

Expand Down
2 changes: 1 addition & 1 deletion src/styles/blocks/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 80b3c9e

Please sign in to comment.