iter: d11 modal 补 size 档位与 footer 操作区

This commit is contained in:
ui-arch-bot
2026-10-23 16:54:36 +08:00
parent a08f157e5e
commit d1a2864470
10 changed files with 76 additions and 12 deletions
+14
View File
@@ -984,6 +984,20 @@
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
animation: ua-pop-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
/* 宽度档位:md 为基准,sm / lg 覆盖 */
.ua-modal-sm {
width: min(340px, 90vw);
}
.ua-modal-lg {
width: min(640px, 92vw);
}
.ua-modal-foot {
display: flex;
justify-content: flex-end;
gap: var(--ua-space-2);
padding: 12px 16px;
border-top: 1px solid var(--ua-color-border);
}
@keyframes ua-fade {
from {
opacity: 0;