Skip to content

Commit

Permalink
fix: update content-list without title
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx committed Dec 25, 2024
1 parent 3da40bf commit 18cbcd1
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/components/ContentList/ContentList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ $iconSizeS: 20px;
$iconSizeXS: 18px;
$marginIconSizeS: 2px;
$marginIconSizeL: 1px;
$marginIconWithoutTitleSizeS: 1px;
$marginIconWithoutTitleSizeL: 2px;
$lightPrimary: var(--g-color-text-light-primary);
$darkPrimary: var(--g-color-text-dark-primary);
$darkSecondary: var(--g-color-text-dark-secondary);
Expand Down Expand Up @@ -52,10 +54,14 @@ $maxSizeS: 440px;
#{$block}__icon {
width: $iconSizeS;
height: $iconSizeS;
margin-top: 0;
margin-bottom: 0;
margin-top: $marginIconWithoutTitleSizeL;
margin-bottom: $marginIconWithoutTitleSizeL;
margin-right: $indentXXXS;
}

#{$block}__text {
@include text-size(subheader-3);
}
}
}
}
Expand Down Expand Up @@ -94,8 +100,12 @@ $maxSizeS: 440px;
#{$block}__icon {
width: $iconSizeXS;
height: $iconSizeXS;
margin-top: 0;
margin-bottom: 0;
margin-top: $marginIconWithoutTitleSizeS;
margin-bottom: $marginIconWithoutTitleSizeS;
}

#{$block}__text {
@include text-size(subheader-2);
}
}
}
Expand Down

0 comments on commit 18cbcd1

Please sign in to comment.