浏览代码

style: 抽屉弹出样式问题

kailong321200875 2 年之前
父节点
当前提交
16a3eef85a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/styles/index.less

+ 5 - 0
src/styles/index.less

@@ -1,2 +1,7 @@
 @import './var.css';
 @import 'element-plus/theme-chalk/dark/css-vars.css';
+
+// 解决抽屉弹出时,body宽度变化的问题
+.el-popup-parent--hidden {
+  width: 100% !important;
+}