Skip to content

Commit 86882bd

Browse files
author
reco_luan
authored
Merge pull request #113 from nshusr/develop
修复 代码段于博客首页样式宽度过长会出现横向滚动条的情况
2 parents b1b60e6 + 954acbd commit 86882bd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

components/HomeBlog.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ export default {
220220
}
221221
.blog-list {
222222
flex auto
223+
width 100%
223224
}
224225
.info-wrapper {
225226
position: -webkit-sticky;

example/docs/views/category2/2016/121501.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ categories:
88
sticky: 1
99
---
1010

11-
first page in category2
11+
``` js
12+
console.log('This is a test snippet. If it is too long, it will automatically hide the width cascade to drag horizontally.')
13+
```
14+
<!-- more -->
15+
16+
first page in category2

0 commit comments

Comments
 (0)