Skip to content

Commit

Permalink
Merge pull request #5244 from nextcloud-libraries/fix/5228/scope-ncmo…
Browse files Browse the repository at this point in the history
…dal-size

fix(NcModal): scope modal-container size to current modal, don't propagate it on nested
  • Loading branch information
Antreesy authored Feb 12, 2024
2 parents 40ac4e0 + dba41bd commit e94a7cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/NcModal/NcModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1004,28 +1004,28 @@ export default {

// Sizing
&--small {
.modal-container {
& > .modal-container {
width: 400px;
max-width: 90%;
max-height: $max-modal-height;
}
}
&--normal {
.modal-container {
& > .modal-container {
max-width: 90%;
width: 600px;
max-height: $max-modal-height;
}
}
&--large {
.modal-container {
& > .modal-container {
max-width: 90%;
width: 900px;
max-height: $max-modal-height;
}
}
&--full {
.modal-container {
& > .modal-container {
width: 100%;
height: calc(100% - var(--header-height));
position: absolute;
Expand Down

0 comments on commit e94a7cb

Please sign in to comment.