Skip to content

Commit

Permalink
fix(@clayui/css): Cadmin Modals remove unused component `modal-dialog…
Browse files Browse the repository at this point in the history
…-scrollable`
  • Loading branch information
pat270 committed May 3, 2021
1 parent 0b7f427 commit 130dc5c
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions packages/clay-css/src/scss/cadmin/components/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,27 +105,6 @@
}
}

.modal-dialog-scrollable {
display: flex;
max-height: calc(100% - #{$cadmin-modal-dialog-margin * 2});

.modal-content {
// IE10/11

max-height: calc(100vh - #{$cadmin-modal-dialog-margin * 2});
overflow: hidden;
}

.modal-header,
.modal-footer {
flex-shrink: 0;
}

.modal-body {
overflow-y: auto;
}
}

.modal-dialog-centered .modal-dialog,
.modal-dialog-centered.modal-dialog {
align-items: center;
Expand All @@ -137,20 +116,6 @@
display: block;
height: calc(100vh - #{$cadmin-modal-dialog-margin * 2});
}

&.modal-dialog-scrollable {
flex-direction: column;
height: 100%;
justify-content: center;

.modal-content {
max-height: none;
}

&::before {
content: none;
}
}
}

.modal-backdrop,
Expand Down

0 comments on commit 130dc5c

Please sign in to comment.