Skip to content

Commit

Permalink
fix(admin-ui): Fix responsive layout of modal dialog for assets
Browse files Browse the repository at this point in the history
Fixes #2537
  • Loading branch information
michaelbromley committed Nov 23, 2023
1 parent f7b4f46 commit 5176017
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:host {
display: flex;
flex-direction: column;
height: 70vh;
//height: 70vh;
overflow-y: auto;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@
&.modal-valign-bottom .modal {
justify-content: flex-end;
}
.modal-dialog {
display: flex;
}
.modal-content-wrapper {
flex: 1;
display: flex;
}
.modal-dialog .modal-content {
flex: 1;
display: flex;
flex-direction: column;
}
@media screen and (max-height: 700px) {
.modal-dialog .modal-content {
padding: 0.8rem;
}
.modal-header, .modal-header--accessible {
padding-bottom: 0.8rem;
}
.modal-footer {
padding-top: 0.8rem;
}
}
}

.modal-body {
Expand Down

0 comments on commit 5176017

Please sign in to comment.