fix: fullscreen-modal width wrong (#3321)

* fix: fullscreen-modal width wrong

* fix: ModalWrapper expose setModalHeight missing
This commit is contained in:
xachary 2023-11-23 09:10:21 +08:00 committed by GitHub
parent f58ef6777c
commit 617b01338c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -150,5 +150,5 @@
}
}
defineExpose({ scrollTop });
defineExpose({ scrollTop, setModalHeight });
</script>

View File

@ -4,10 +4,12 @@
.ant-modal {
inset: 0 !important;
width: 100% !important;
max-width: 100%;
height: 100%;
&-content {
height: 100%;
overflow: hidden;
}
}