帮助中心数据实现动态渲染
This commit is contained in:
@@ -156,8 +156,25 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* highlight.js 样式覆盖 */
|
||||
pre code.hljs {
|
||||
background: inherit;
|
||||
padding: 0;
|
||||
/* highlight.js 样式覆盖 - 确保代码块高亮在前台正常显示 */
|
||||
.prose pre {
|
||||
background: #2b2b2b;
|
||||
color: #abb2bf;
|
||||
border-radius: 0.5rem;
|
||||
padding: 1rem 1.25rem;
|
||||
overflow-x: auto;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.prose pre code {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.prose pre code.hljs {
|
||||
background: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user