Skip to content

Commit 3a8b8e3

Browse files
authored
fix: change blog description yfm modifier for take and side card list (#286)
* fix: change blog description yfm modifier for take and side card list
1 parent 3a0b5fa commit 3a8b8e3

File tree

9 files changed

+6
-2
lines changed

9 files changed

+6
-2
lines changed

src/blocks/SideCardList/SideCardList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const SideCardList = ({title, items, paddingTop, paddingBottom}: SideCard
3333
<YFMWrapper
3434
content={description}
3535
modifiers={{
36-
blog: true,
36+
blogDescription: true,
3737
resetPaddings: true,
3838
}}
3939
/>
Loading
Loading

src/blocks/Take/Take.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const Take = (props: TakeProps) => {
4444
contentClassName={b('text')}
4545
tagName="div"
4646
modifiers={{
47-
blog: true,
47+
blogDescription: true,
4848
resetPaddings: true,
4949
}}
5050
/>
Loading
Loading
Loading
Loading

styles/yfm.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@
102102
color: var(--g-text-color-base);
103103
}
104104

105+
&_description {
106+
color: var(--g-color-text-primary);
107+
}
108+
105109
a {
106110
color: var(--g-color-text-link);
107111
border-radius: var(--g-focus-border-radius);

0 commit comments

Comments
 (0)