fix: fullscreen-modal width wrong (#3321)
* fix: fullscreen-modal width wrong * fix: ModalWrapper expose setModalHeight missing
This commit is contained in:
parent
f58ef6777c
commit
617b01338c
|
|
@ -150,5 +150,5 @@
|
|||
}
|
||||
}
|
||||
|
||||
defineExpose({ scrollTop });
|
||||
defineExpose({ scrollTop, setModalHeight });
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -4,10 +4,12 @@
|
|||
.ant-modal {
|
||||
inset: 0 !important;
|
||||
width: 100% !important;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
|
||||
&-content {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue