Skip to content

Commit

Permalink
Remove !important as they were not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperbirch1 committed Oct 15, 2024
1 parent 989892d commit 4639dfe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/stories/Library/Modals/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,18 @@
// Adjust the modal to display all content when printing
@media print {
.modal {
position: static !important;
overflow: visible !important;
width: auto !important;
height: auto !important;
opacity: 1 !important;
display: block !important;
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 !important;
display: none;
}
}

0 comments on commit 4639dfe

Please sign in to comment.