style: 提交型弹窗移动端使用可用视口高度
This commit is contained in:
1 parent
6df91eb9b6
commit
c888dc40d6
1 file changed
+5
@@ -41,6 +41,11 @@ const open = defineModel<boolean>('open', { default: false })
|
||||
.app-dialog--with-footer {
|
||||
height: min(760px, calc(100dvh - 32px));
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.app-dialog--with-footer {
|
||||
height: calc(100dvh - 16px);
|
||||
}
|
||||
}
|
||||
.app-dialog .n-card-header {
|
||||
@apply shrink-0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user