Skip to content

Commit

Permalink
[EASI-3076] Hide all SVGs when printing Prince PDFs (#2093)
Browse files Browse the repository at this point in the history
* Hide all SVGs when printing Prince PDFs

* Comment `media print svg`

---------

Co-authored-by: adamodd <adam.suharja@oddball.io>
  • Loading branch information
ClayBenson94 and adamodd authored Jul 5, 2023
1 parent 07711c7 commit b70d2a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stylesheets/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
display: none;
}

// Hide svg elements so that Prince doesn't try to print SVGs
// (which commonly have issues unless they're specifically handled for accessibility)
svg {
display: none !important;
}

.easi-only-print {
display: block;
}
Expand Down

0 comments on commit b70d2a3

Please sign in to comment.