Skip to content

Commit aaa5f18

Browse files
committed
feat: stable package version after rebase and fix styles
1 parent db355de commit aaa5f18

File tree

16 files changed

+66
-61
lines changed

16 files changed

+66
-61
lines changed

package-lock.json

Lines changed: 4 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/blocks/Contributors/Contributors.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ $block: '.#{variables.$ns}contributors';
2121
}
2222

2323
&__header-title {
24-
@include pcStyles.heading2();
2524
padding: 0;
2625
}
2726

27+
&__header-title-content {
28+
@include pcStyles.heading2();
29+
}
30+
2831
&__header-count {
2932
flex-grow: 1;
3033
font-size: 32px;

src/blocks/Contributors/Contributors.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ export const ContributorsBlock: React.FC<ContributorsProps> = ({
3636
<AnimateBlock className={b()} animate={animated}>
3737
<div className={b('header-wrapper')}>
3838
<h2 className={b('header-title')}>
39-
<YFMWrapper content={title} modifiers={{constructor: true}} />
39+
<YFMWrapper
40+
content={title}
41+
modifiers={{constructor: true}}
42+
contentClassName={b('header-title-content')}
43+
/>
4044
</h2>
4145
<div className={b('header-count')}>{contributors.length}</div>
4246
<div>

src/blocks/CustomHeader/CustomHeader.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ $block: '.#{variables.$ns}custom-header';
1515
}
1616

1717
&__title {
18-
@include pcStyles.heading1();
1918
max-width: 800px;
19+
margin: 0;
20+
}
21+
22+
&__title-content {
23+
@include pcStyles.heading1();
2024
}
2125

2226
&__buttons {

src/blocks/CustomHeader/CustomHeader.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@ export const CustomHeader: React.FC<CustomHeaderProps> = ({
9999
)}
100100
<div className={b('title-col')}>
101101
<h1 className={b('title')}>
102-
<YFMWrapper content={title} modifiers={{constructor: true}} />
102+
<YFMWrapper
103+
content={title}
104+
modifiers={{constructor: true}}
105+
contentClassName={b('title-content')}
106+
/>
103107
</h1>
104108
{buttons?.length > 0 ? (
105109
<div className={b('buttons')}>

src/blocks/Libraries/Libraries.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export const Libraries: React.FC<LibrariesProps> = ({
8383
return (
8484
<AnimateBlock className={b()} animate={animated}>
8585
<SliderBlock
86-
lazyLoad
8786
blockClassName={b('slider')}
8887
title={title ? {text: title} : undefined}
8988
slidesToShow={{

src/blocks/RoadmapBlock/RoadmapBlock.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ $block: '.#{variables.$ns}roadmap-block';
88
@include pcStyles.animate();
99

1010
&__title {
11-
@include pcStyles.heading2();
1211
margin-bottom: pcVariables.$indentM;
1312
}
13+
14+
&__title-content {
15+
@include pcStyles.heading2();
16+
}
1417
}

src/blocks/RoadmapBlock/RoadmapBlock.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ export const RoadmapBlock: React.FC<RoadmapProps> = ({animated, title, tasks}) =
2222
return (
2323
<AnimateBlock className={b()} animate={animated}>
2424
<h2 className={b('title')} data-section="roadmap">
25-
<YFMWrapper content={title} modifiers={{constructor: true}} />
25+
<YFMWrapper
26+
content={title}
27+
modifiers={{constructor: true}}
28+
contentClassName={b('title-content')}
29+
/>
2630
</h2>
2731
<Roadmap tasks={tasks} />
2832
</AnimateBlock>

src/blocks/TemplatesBlock/TemplatesBlock.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ $block: '.#{variables.$ns}templates-block';
88
@include pcStyles.animate();
99

1010
&__title {
11-
@include pcStyles.heading2();
12-
1311
margin-bottom: pcVariables.$indentM;
1412
}
13+
14+
&__title-content {
15+
@include pcStyles.heading2();
16+
}
1517
}

src/blocks/TemplatesBlock/TemplatesBlock.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ export const TemplatesBlock: React.FC<TemplatesProps> = ({animated, title, tabs}
4040
<div ref={blockRef} />
4141
<AnimateBlock className={b()} animate={animated}>
4242
<h2 className={b('title')} data-section="templates">
43-
<YFMWrapper content={title} modifiers={{constructor: true}} />
43+
<YFMWrapper
44+
content={title}
45+
modifiers={{constructor: true}}
46+
contentClassName={b('title-content')}
47+
/>
4448
</h2>
4549
<Templates tabs={tabs} />
4650
</AnimateBlock>

0 commit comments

Comments
 (0)