fix: Fix all modal sizes (#6820)

This commit is contained in:
Mutasem Aldmour
2023-08-01 13:52:33 +02:00
committed by GitHub
parent 1d72225cb0
commit 7525cfe2dc
7 changed files with 27 additions and 40 deletions

View File

@@ -19,8 +19,7 @@
display: flex;
flex-direction: column;
align-items: inherit;
justify-content: center;
padding-top: var(--spacing-2xl);
overflow: auto;
}
@include mixins.b(overlay-message-box) {
@@ -38,7 +37,7 @@
border-radius: var(--border-radius-small);
box-shadow: var.$dialog-box-shadow;
box-sizing: border-box;
width: var(#{getCssVarName('dialog-width')}, 50%);
width: var(#{utils.getCssVarName('dialog-width')}, 50%);
@include mixins.when(fullscreen) {
width: 100%;
@@ -108,20 +107,6 @@
margin-left: var(--spacing-2xs);
}
}
// 内容居中布局
@include mixins.m(center) {
text-align: center;
@include mixins.e(body) {
text-align: initial;
padding: 25px (var.$dialog-padding-primary + 5px) 30px;
}
@include mixins.e(footer) {
text-align: inherit;
}
}
}
.dialog-fade-enter-active {