mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-10 20:57:28 +08:00
feat: 【界面优化】在看别人帖子的时候发现代码块的内容间距有点紧,尤其在有中文注释的时候更明显
This commit is contained in:
@@ -108,7 +108,7 @@ body {
|
|||||||
background-color: var(--normal-background-color);
|
background-color: var(--normal-background-color);
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
line-height: 0.8;
|
line-height: 1.5;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -131,7 +131,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.info-content-text code {
|
.info-content-text code {
|
||||||
font-family: monospace;
|
font-family: 'Roboto Mono', monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
@@ -235,4 +235,8 @@ body {
|
|||||||
.info-content-text li {
|
.info-content-text li {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.info-content-text pre {
|
||||||
|
line-height: 0.8;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user