浏览代码

perf: optimize page scrolling when setting fixedHeader

Pan 6 年之前
父节点
当前提交
896962a5c5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/layout/components/AppMain.vue

+ 2 - 0
src/layout/components/AppMain.vue

@@ -27,5 +27,7 @@ export default {
 }
 .fixed-header+.app-main {
   padding-top: 50px;
+  height: 100vh;
+  overflow: auto;
 }
 </style>