feat: 【界面优化】在看别人帖子的时候发现代码块的内容间距有点紧,尤其在有中文注释的时候更明显

This commit is contained in:
tim
2025-08-01 11:10:53 +08:00
parent 6a3644bca1
commit ce1a94dbaf

View File

@@ -108,7 +108,7 @@ body {
background-color: var(--normal-background-color);
padding: 8px 12px;
border-radius: 4px;
line-height: 0.8;
line-height: 1.5;
position: relative;
}
@@ -131,7 +131,7 @@ body {
}
.info-content-text code {
font-family: monospace;
font-family: 'Roboto Mono', monospace;
font-size: 13px;
border-radius: 4px;
white-space: pre-wrap;
@@ -235,4 +235,8 @@ body {
.info-content-text li {
font-size: 14px;
}
.info-content-text pre {
line-height: 0.8;
}
}