Parcourir la source

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

Pan il y a 5 ans
Parent
commit
9793fff12d
1 fichiers modifiés avec 9 ajouts et 2 suppressions
  1. 9 2
      src/layout/components/AppMain.vue

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

@@ -27,7 +27,14 @@ export default {
27 27
 }
28 28
 .fixed-header+.app-main {
29 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 40
 </style>