Skip to content

Commit cdb5778

Browse files
authored
fixing h3 font size (#1886)
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Specify if the PR is ready to be merged or work in progress (by opening a draft PR) Please ensure you read the Contributing Guide: https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md --> ### What does it do? h3 tags were rendered with the same font-size of the h2 tags ### Why is it needed? Readability of the documentation is much better. ### How to test it? Navigate to any documentation page containing a h3
2 parents c07a415 + d85575f commit cdb5778

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/components/Typography.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@ const H2 = (props: TypographyProps) => (
1010
);
1111

1212
const H3 = (props: TypographyProps) => (
13-
<Typography
14-
{...props}
15-
tag="h3"
16-
variant="delta"
17-
textColor="neutral800"
18-
marginBottom="1em"
19-
marginTop="1.4em"
20-
fontSize={4}
21-
/>
13+
<Typography {...props} tag="h3" variant="delta" textColor="neutral800" marginBottom="1em" marginTop="1.4em" />
2214
);
2315

2416
const H4 = (props: TypographyProps) => (

0 commit comments

Comments
 (0)