Explorar o código

perf: optimize page scrolling when setting fixedHeader

Pan %!s(int64=6) %!d(string=hai) anos
pai
achega
896962a5c5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>