Przeglądaj źródła

perf[Style]: refine fixed-header style when open el-dialog

Pan 5 lat temu
rodzic
commit
9793fff12d
1 zmienionych plików z 9 dodań i 2 usunięć
  1. 9 2
      src/layout/components/AppMain.vue

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

@@ -27,7 +27,14 @@ export default {
27
 }
27
 }
28
 .fixed-header+.app-main {
28
 .fixed-header+.app-main {
29
   padding-top: 50px;
29
   padding-top: 50px;
30
-  height: 100vh;
31
-  overflow: auto;
30
+}
31
+</style>
32
+
33
+<style lang="scss">
34
+// fix css style bug in open el-dialog
35
+.el-popup-parent--hidden {
36
+  .fixed-header {
37
+    padding-right: 15px;
38
+  }
32
 }
39
 }
33
 </style>
40
 </style>