Skip to content

Commit

Permalink
perf: optimize page scrolling when setting fixedHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed May 5, 2019
1 parent d482e0b commit 896962a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/layout/components/AppMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ export default {
}
.fixed-header+.app-main {
padding-top: 50px;
height: 100vh;
overflow: auto;
}
</style>

0 comments on commit 896962a

Please sign in to comment.