Merge pull request #113 from nshusr/develop

修复 代码段于博客首页样式宽度过长会出现横向滚动条的情况
This commit is contained in:
reco_luan 2019-12-20 18:04:37 +08:00 committed by GitHub
commit 86882bddb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -220,6 +220,7 @@ export default {
} }
.blog-list { .blog-list {
flex auto flex auto
width 100%
} }
.info-wrapper { .info-wrapper {
position: -webkit-sticky; position: -webkit-sticky;

View File

@ -8,4 +8,9 @@ categories:
sticky: 1 sticky: 1
--- ---
first page in category2 ``` js
console.log('This is a test snippet. If it is too long, it will automatically hide the width cascade to drag horizontally.')
```
<!-- more -->
first page in category2