Skip to content

Commit c1d794d

Browse files
committed
Add styling for strong, bold, and i tags
1 parent 3698be2 commit c1d794d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dotcom-rendering/src/components/TagPageHeader.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,15 @@ const linkStyles = css`
210210

211211
const pStyles = css`
212212
padding-bottom: ${space[1]}px;
213+
b,
214+
strong em,
215+
strong u {
216+
font-weight: bold;
217+
}
218+
219+
i {
220+
font-style: italic;
221+
}
213222
`;
214223

215224
const buildElementTree = (node: Node): ReactNode => {

0 commit comments

Comments
 (0)