修复表单弹窗误关闭

This commit is contained in:
2026-07-01 11:17:52 +08:00
parent ac6008788b
commit 975cdb20cb
6 changed files with 132 additions and 10 deletions
+41
View File
@@ -516,6 +516,47 @@ a {
background: var(--card-bg);
}
.modal-confirm {
position: absolute;
inset: 0;
z-index: 2;
display: grid;
place-items: center;
padding: 20px;
background: rgba(38, 35, 31, 0.28);
}
.modal-confirm__panel {
width: min(100%, 340px);
padding: 18px;
border-radius: 16px;
background: var(--card-bg);
box-shadow: 0 18px 46px rgba(38, 35, 31, 0.18);
}
.modal-confirm__panel h3,
.modal-confirm__panel p {
margin: 0;
}
.modal-confirm__panel h3 {
color: var(--ink);
font-size: 17px;
}
.modal-confirm__panel p {
margin-top: 8px;
color: var(--muted);
line-height: 1.6;
}
.modal-confirm__actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 16px;
}
.toast-host {
position: fixed;
top: calc(16px + env(safe-area-inset-top));