对话框加入关闭按钮,统一用户体验

This commit is contained in:
yinjun.chen1
2026-09-16 17:53:32 +08:00
parent a0a22685d2
commit 444167e793
5 changed files with 45 additions and 13 deletions
+27 -3
View File
@@ -981,6 +981,30 @@ h2 {
width: 100%;
max-width: 360px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
position: relative;
}
.modal-close {
position: absolute;
top: 8px;
right: 10px;
background: none;
border: none;
color: #888;
font-size: 18px;
cursor: pointer;
line-height: 1;
padding: 2px 6px;
border-radius: 4px;
}
.modal-close:hover {
color: #e94560;
background: rgba(233, 69, 96, 0.1);
}
.btn-block {
width: 100%;
}
.modal-content h3 {
@@ -1100,12 +1124,12 @@ h2 {
.env-manage-actions {
display: flex;
gap: 6px;
gap: 2px;
margin-right: -8px;
}
.env-manage-actions button {
padding: 4px 10px;
font-size: 12px;
padding: 4px 6px;
}
.env-manage-empty {