[GIT] Evergreen ILS branch rel_3_14 updated. 699100e7e1bc651ce349507fbb41113932ea4e2a

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_14 has been updated via 699100e7e1bc651ce349507fbb41113932ea4e2a (commit) from 0e98ab799ca9aa2895e1c57f1b0ec664b46988d6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 699100e7e1bc651ce349507fbb41113932ea4e2a Author: Steven Mayo <smayo@georgialibraries.org> Date: Tue Mar 18 11:49:55 2025 -0400 lp2092226 Navbar_Menu_Icons_Visible_On_Print Updates the css hiding everything while printing to also include things that are not inside divs. EVERYTHING that is not directly above or inside eg-print-container will now be hidden on print. Release-note: Fixes an issue where menu icons appear on printouts. Signed-off-by: Steven Mayo <smayo@georgialibraries.org> Signed-off-by: Gina Monti <gmonti@biblio.org> Signed-off-by: Michele Morgan <mmorgan@noblenet.org> diff --git a/Open-ILS/src/eg2/src/styles.css b/Open-ILS/src/eg2/src/styles.css index 391f94e7ee..dc875dfb43 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -325,15 +325,16 @@ input[type="checkbox"]:focus { } @media print { head {display: none} /* just to be safe */ - body div:not([id="eg-print-container"]) {display: none} - div {display: none} + /* Display ONLY eg-print-container; Hide literally everything that is not above, below, or itself eg-print-container */ + *:not(:has(#eg-print-container)):not(#eg-print-container *):not(#eg-print-container) { + display: none + } @page {size: auto} /* work around Bootrap 4's default of A3; specifying any paper size stops browsers from letting the user choose portrait or landscape. LP#1986725 */ #eg-print-container {display: block} - #eg-print-container div {display: block} #eg-print-container pre {border: none} /* Always print in light mode */ ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/eg2/src/styles.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User