We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37c7e62 + bbb8623 commit b430d6fCopy full SHA for b430d6f
src/components/NcModal/NcModal.vue
@@ -733,7 +733,7 @@ function clearFocusTrap() {
733
734
// We allow 90% max-height, but we need to ensure the header does not overlap the modal
735
// as the modal is centered, we need the space on top and bottom
736
- $max-modal-height: min(90%, calc(100% - 2 * var(--header-height)));
+ $max-modal-height: min(90%, calc(100% - 2 * var(--header-height) - 2 * var(--body-container-margin)));
737
738
// Sizing
739
&--small {
0 commit comments