瀏覽代碼

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 {