Skip to content

Commit d1220b2

Browse files
authored
Merge pull request #38 from f-dong/BUG修复
重新调整归档页分类问题
2 parents c3fcb8e + 5f7c247 commit d1220b2

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
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.3.9",
3+
"version": "1.3.10",
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/_blocks/post.styl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,17 @@
137137

138138
table {
139139
border-collapse: collapse;
140-
margin: 1rem auto;
141-
display: table;
140+
//margin: 1rem 0;
141+
//display: block;
142142
overflow-x: auto;
143+
display table
144+
margin 1rem auto
145+
}
146+
figure {
147+
table {
148+
margin: 1rem 0;
149+
display: block;
150+
}
143151
}
144152
tr {
145153
border-top: 1px solid #dfe2e5;

source/style/main.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

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

21-
if hexo-config('highlight') == 'prismjs'
21+
if hexo-config('prismjs')
2222
pre[class*=language-] {
2323
padding: 0 !important;
2424
margin: 0 !important;

0 commit comments

Comments
 (0)