修复表单弹窗误关闭
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user