Skip to content

Commit 91ef6d1

Browse files
arturfracalaArtur Fracala
andauthored
adjust headings for algolia search (#1522)
Co-authored-by: Artur Fracala <[email protected]>
1 parent 0a8841f commit 91ef6d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/core/Page/header.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ import Rating from "../Rating";
77
import { RATING_POSITION } from "../../../constants";
88
import { convertToSlug } from "../../../utils";
99

10-
const PageTitle = styled.h1`
10+
const PageTitle = styled.h2`
1111
margin: 0;
1212
display: flex;
1313
justify-content: space-between;
1414
flex-direction: column;
15+
font-weight: 500;
16+
text-rendering: optimizeLegibility;
17+
font-size: 2.25rem;
18+
line-height: 1.1;
19+
letter-spacing: -0.02em;
1520
@media (min-width: 768px) {
1621
flex-direction: row;
1722
}

0 commit comments

Comments
 (0)