Skip to content

Commit

Permalink
docs: fix the side effect by global el-scrollbar style (ElemeFE#15740)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonaliaChen authored and Feng committed Jun 20, 2019
1 parent d5d5664 commit ec0de0c
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 ec0de0c

Please sign in to comment.