From e8e6c7e79c2488779090f00efc5f1bbfcb04bd5b Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 5 May 2019 15:49:56 +0800 Subject: [PATCH] perf: optimize page scrolling when setting fixedHeader tweak --- src/layout/components/AppMain.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 62e6ace5..e72e4555 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -33,6 +33,8 @@ export default { .fixed-header+.app-main { padding-top: 50px; + height: 100vh; + overflow: auto; } .hasTagsView {