Преглед изворни кода

style: 抽屉弹出样式问题

xingyuv пре 2 година
родитељ
комит
65e3652534
1 измењених фајлова са 5 додато и 0 уклоњено
  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 {