Print: support modals

if a modal is open the whole modal gets printed, hiding the content behind, the close x and the modal footer.
This commit is contained in:
Felix Niklas 2018-09-18 14:57:11 +02:00
parent ccf97ee077
commit 46db068a65

View file

@ -201,4 +201,51 @@ th.js-tableHead:not([data-column-key="icon"]) {
.avatar {
border: 1px solid black;
}
/*
Modal
=====
*/
.modal-open {
> *:not(.modal) {
display: none !important;
}
}
.modal {
width: auto !important;
position: static;
padding: 0 !important;
}
.modal-backdrop {
display: none;
}
.modal-dialog {
box-shadow: none !important;
max-width: none !important;
margin: 0;
}
.modal-content {
border: none;
}
.modal-close {
display: none;
}
.modal-footer {
display: none;
}
.modal-body {
padding: 0;
}