Skip to content

Commit 96cf5a4

Browse files
authored
Merge pull request #45 from f-dong/BUG修复
代码块间隔问题
2 parents 0fb102a + 838dd68 commit 96cf5a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-minimalism",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"private": false,
55
"description": "a minimalist Hexo theme that is simple yet elegant, enabling your blog content to shine. Its powerful features also help you create a personalized blog that truly stands out.",
66
"scripts": {

source/style/main.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
@import "_core/night-node" if hexo-config('dark_theme.enable');
2020

21-
if hexo-config('prismjs')
21+
if hexo-config('prismjs.enable')
2222
pre[class*=language-] {
2323
padding: 0 !important;
24-
margin: 0 !important;
24+
margin: 0 0 16px 0 !important;
2525
}
2626
pre[class*=language-] code {
2727
color: #476582;

0 commit comments

Comments
 (0)