diff --git a/src/stories/Library/Modals/modal.scss b/src/stories/Library/Modals/modal.scss index 70cb857f9..9c4a1760a 100644 --- a/src/stories/Library/Modals/modal.scss +++ b/src/stories/Library/Modals/modal.scss @@ -115,3 +115,22 @@ justify-content: flex-end; padding: 20px; } + +// Adjust the modal to display all content when printing +@media print { + .modal { + position: static; + overflow: visible; + width: auto; + height: auto; + opacity: 1; + display: block; + } + + // Hide elements that shouldn't appear in print + .modal-backdrop, + .modal-btn-close, + .modal-btn-fallback { + display: none; + } +}