Skip to content

Commit 9c094dc

Browse files
authored
fix: header description displaying with ssr (#431)
1 parent eb73819 commit 9c094dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/blocks/Header/Header.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,21 @@ export const HeaderBlock = (props: WithChildren<HeaderBlockFullProps>) => {
121121
>
122122
<Col sizes={titleSizes} className={b('content-inner')}>
123123
{overtitle && (
124-
<p className={b('overtitle')}>
124+
<div className={b('overtitle')}>
125125
<HTML>{overtitle}</HTML>
126-
</p>
126+
</div>
127127
)}
128128
<h1 className={b('title')}>
129129
{status}
130130
<HTML>{title}</HTML>
131131
</h1>
132132
{description && (
133-
<p className={b('description')}>
133+
<div className={b('description')}>
134134
<YFMWrapper
135135
content={description}
136136
modifiers={{constructor: true}}
137137
/>
138-
</p>
138+
</div>
139139
)}
140140
{buttons && (
141141
<div className={b('buttons')} data-qa="header-buttons">

0 commit comments

Comments
 (0)