Skip to content

Commit 253e2ee

Browse files
authored
Merge pull request #8046 from nextcloud-libraries/backport/8042/stable8
2 parents 21480ad + 5ef0b34 commit 253e2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/NcModal/NcModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ export default {
11361136
11371137
// We allow 90% max-height, but we need to ensure the header does not overlap the modal
11381138
// as the modal is centered, we need the space on top and bottom
1139-
$max-modal-height: min(90%, calc(100% - 2 * var(--header-height)));
1139+
$max-modal-height: min(90%, calc(100% - 2 * var(--header-height) - 2 * var(--body-container-margin)));
11401140
11411141
// Sizing
11421142
&--small {

0 commit comments

Comments
 (0)