iter: d11 modal 补 size 档位与 footer 操作区
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user