修复 代码段于博客首页样式宽度过长会出现横向滚动条的情况

This commit is contained in:
nshu 2019-12-20 17:12:29 +08:00
parent 71c1742ff8
commit 64e085d6f8
2 changed files with 11 additions and 5 deletions

View File

@ -201,6 +201,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
--- ---
``` 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 first page in category2