
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_15 has been updated via 3b23aa7376d4e0487b2a64baac8a893a36a64acd (commit) from df322f81476337d15c563c5de4b89b12530ca418 (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 3b23aa7376d4e0487b2a64baac8a893a36a64acd 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 7bc9e65b4e..29fd521ffe 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -427,15 +427,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