Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ddecb08

Browse files
committedMay 27, 2025·
使移动端上段落更紧凑
1 parent 9f79a3a commit ddecb08

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/styles/markdown.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,16 @@
3737
}
3838

3939
@media (max-width: 768px) {
40+
line-height: 1.4;
4041
code {
4142
font-size: 0.7rem;
4243
}
44+
h2 {
45+
line-height: 1;
46+
}
47+
p {
48+
margin-top: 1em;
49+
margin-bottom: 1em;
50+
}
4351
}
4452
}

0 commit comments

Comments
 (0)
Please sign in to comment.