🐛(layer): 修复 close 与 btn 的 hover 状态抖动的问题

This commit is contained in:
就眠儀式 2022-10-06 01:26:25 +08:00
parent 4c12851f9b
commit 21e33e8efe
2 changed files with 1 additions and 11 deletions

View File

@ -11,7 +11,7 @@ const zhCN = [
path: "/zh-CN/demo", path: "/zh-CN/demo",
component: () => import("../document/zh-CN/demo.md"), component: () => import("../document/zh-CN/demo.md"),
meta: { title: "示例" }, meta: { title: "示例" },
} },
], ],
}, },
]; ];

View File

@ -7,12 +7,6 @@
user-select: none; user-select: none;
} }
html #layuicss-layer {
display: none;
position: absolute;
width: 1989px;
}
.layui-layer, .layui-layer,
.layui-layer-shade { .layui-layer-shade {
position: fixed; position: fixed;
@ -710,10 +704,6 @@ html #layuicss-layer {
cursor: pointer; cursor: pointer;
} }
.layui-layer-setwin .layui-layer-close1:hover {
opacity: 0.7;
}
.layui-layer-setwin .layui-layer-close2 { .layui-layer-setwin .layui-layer-close2 {
position: absolute; position: absolute;
right: -28px; right: -28px;