Skip to content

Commit

Permalink
docs: fix the side effect by global el-scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
wanyu.chen committed May 30, 2019
1 parent 603d94a commit a16e273
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/pages/template/component.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
height: calc(100% - 80px);
margin-top: 80px;
.el-scrollbar__wrap {
> .el-scrollbar__wrap {
overflow-x: auto;
}
}
Expand All @@ -24,8 +24,9 @@
margin-top: 80px;
transition: padding-top .3s;
.el-scrollbar__wrap {
> .el-scrollbar__wrap {
height: 100%;
overflow-x: auto;
}
&.is-extended {
Expand Down

0 comments on commit a16e273

Please sign in to comment.