From 41dc4337ddeb151d1e6908d5994b614d550f73ab Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Tue, 27 Jun 2023 17:17:15 -0700 Subject: [PATCH] Bug 34119 - Use !important to make print.css beat staff-global.css at hiding SQL report cruft Test plan: 1. Run an SQL report (or create a simple one like "select itemnumber from items" if you don't have any). Shift-reload the results, since you probably have print.css cached. 2. File - Print 3. Make sure the print preview doesn't show the header search box, or the New report, Edit, Run report buttons (the logo, the hamburger menu and the help ? icon are a separate bug). --- koha-tmpl/intranet-tmpl/prog/css/print.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/print.css b/koha-tmpl/intranet-tmpl/prog/css/print.css index b1cbc010b6..b2135a270e 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/print.css +++ b/koha-tmpl/intranet-tmpl/prog/css/print.css @@ -309,7 +309,7 @@ fieldset.action, .browse-controls, .cart-controls, button.dt-button { - display: none; + display: none !important; } .ui-tabs .ui-tabs-panel, -- 2.40.0