style: 提交型弹窗移动端使用可用视口高度

This commit is contained in:
GouJ committed 2026-09-26 23:30:25 +08:00
1 parent 6df91eb9b6
commit c888dc40d6
1 file changed
+5
+5
View File
@@ -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;
}