Skip to content

Commit fb8d206

Browse files
niktverdNikolay Tverdokhlebov
andauthored
fix(ExtendedFeatures): label position fixed (#175)
Co-authored-by: Nikolay Tverdokhlebov <[email protected]>
1 parent a52a9e1 commit fb8d206

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/blocks/ExtendedFeatures/ExtendedFeatures.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $block: '.#{$ns}ExtendedFeaturesBlock';
2525
&-title {
2626
@include heading4();
2727

28-
display: flex;
28+
display: block;
2929
position: relative;
3030
margin-bottom: $indentXXXS;
3131

@@ -38,14 +38,14 @@ $block: '.#{$ns}ExtendedFeaturesBlock';
3838
@include text-size(caption-2);
3939

4040
position: relative;
41-
top: 5px;
41+
top: -3px;
4242
height: 16px;
4343
margin-left: 8px;
44-
padding: 0 5px;
44+
padding: 1.5px 5px 2px;
4545

4646
color: var(--yc-color-base-background);
4747
background-color: var(--yc-my-color-brand-normal);
48-
border-radius: 3px;
48+
border-radius: 4px;
4949
}
5050

5151
&-text,

src/blocks/ExtendedFeatures/ExtendedFeatures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const ExtendedFeaturesBlock = ({
6161
<h5 className={b('item-title')}>
6262
<HTML>{itemTitle}</HTML>
6363
{label && (
64-
<div className={b('item-label')}>{label}</div>
64+
<span className={b('item-label')}>{label}</span>
6565
)}
6666
</h5>
6767
)}

0 commit comments

Comments
 (0)