Skip to content

Commit 471f0d4

Browse files
authored
fix(theme): Adjust blog authors line height to show descenders in lowercase letters (g, j, p, q, and y) (#10390)
1 parent e60de09 commit 471f0d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/styles.module.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
.authorTitle {
4747
font-size: 0.8rem;
48-
line-height: 0.8rem;
48+
line-height: 1rem;
4949
display: -webkit-box;
5050
overflow: hidden;
5151
line-clamp: 1;
@@ -55,12 +55,12 @@
5555

5656
.author-as-h1 .authorTitle {
5757
font-size: 1.2rem;
58-
line-height: 1.2rem;
58+
line-height: 1.6rem;
5959
}
6060

6161
.author-as-h2 .authorTitle {
6262
font-size: 1rem;
63-
line-height: 1rem;
63+
line-height: 1.3rem;
6464
}
6565

6666
.authorBlogPostCount {

0 commit comments

Comments
 (0)