docs: fix the side effect by global el-scrollbar style (#15740)

This commit is contained in:
Simona 2019-05-30 11:34:34 +08:00 committed by luckyCao
parent 603d94a7e4
commit fa802b893f

View File

@ -3,7 +3,7 @@
height: calc(100% - 80px); height: calc(100% - 80px);
margin-top: 80px; margin-top: 80px;
.el-scrollbar__wrap { > .el-scrollbar__wrap {
overflow-x: auto; overflow-x: auto;
} }
} }
@ -24,8 +24,9 @@
margin-top: 80px; margin-top: 80px;
transition: padding-top .3s; transition: padding-top .3s;
.el-scrollbar__wrap { > .el-scrollbar__wrap {
height: 100%; height: 100%;
overflow-x: auto;
} }
&.is-extended { &.is-extended {