修复 代码段于博客首页样式宽度过长会出现横向滚动条的情况
This commit is contained in:
parent
71c1742ff8
commit
64e085d6f8
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="home-blog">
|
||||
<div
|
||||
class="hero"
|
||||
<div
|
||||
class="hero"
|
||||
:style="{
|
||||
background: `url(${$frontmatter.bgImage ? $withBase($frontmatter.bgImage) : require('../images/home-bg.jpg')}) center/cover no-repeat`, ...bgImageStyle}">
|
||||
<ModuleTransition>
|
||||
@ -15,8 +15,8 @@
|
||||
</ModuleTransition>
|
||||
|
||||
<ModuleTransition delay="0.16">
|
||||
<p
|
||||
class="huawei"
|
||||
<p
|
||||
class="huawei"
|
||||
v-if="recoShowModule && $themeConfig.huawei === true">
|
||||
<i class="iconfont reco-huawei" style="color: #fc2d38"></i> 华为,为中华而为之!
|
||||
</p>
|
||||
@ -201,6 +201,7 @@ export default {
|
||||
}
|
||||
.blog-list {
|
||||
flex auto
|
||||
width 100%
|
||||
}
|
||||
.info-wrapper {
|
||||
position: -webkit-sticky;
|
||||
|
@ -8,4 +8,9 @@ categories:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user