Explorar el Código

style: 抽屉弹出样式问题

xingyuv hace 2 años
padre
commit
65e3652534
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/styles/index.scss

+ 5 - 0
src/styles/index.scss

@@ -6,6 +6,11 @@
   margin-left: 2px !important;
 }
 
+// 解决抽屉弹出时,body宽度变化的问题
+.el-popup-parent--hidden {
+  width: 100% !important;
+}
+
 /* nprogress 适配 element-plus 的主题色 */
 #nprogress {
   & .bar {