This applies to the OPAC and new to the staff interface as well: If you are on a long page and scroll down, a "Back to top" arrow will appear on the right bottom screen. This is great, but it would be greater if it didn't show on print outs :)
I'm expanding the scope of the bug because I threw in some other fixes too.
Created attachment 165025 [details] [review] Bug 36610: Some improvements to OPAC print CSS This patch makes a few CSS and markup changes to improve the print view. The markup changes use Bootstrap's ".d-print-none" class to hide specific elements without creating an ID or class specifically for those elements. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Log in to the OPAC - Test the following user pages by viewing the print preview: - Summary - Holds history - Messaging - Lists - Suggestions - The "Personal details" tab hasn't been improved for printing but it's a good page to view to confirm that the "Back to top" arrow is now hidden in the print view.
Created attachment 165062 [details] [review] Bug 36610: Some improvements to OPAC print CSS This patch makes a few CSS and markup changes to improve the print view. The markup changes use Bootstrap's ".d-print-none" class to hide specific elements without creating an ID or class specifically for those elements. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Log in to the OPAC - Test the following user pages by viewing the print preview: - Summary - Holds history - Messaging - Lists - Suggestions - The "Personal details" tab hasn't been improved for printing but it's a good page to view to confirm that the "Back to top" arrow is now hidden in the print view. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Created attachment 166748 [details] [review] Bug 36610: Some improvements to OPAC print CSS This patch makes a few CSS and markup changes to improve the print view. The markup changes use Bootstrap's ".d-print-none" class to hide specific elements without creating an ID or class specifically for those elements. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Log in to the OPAC - Test the following user pages by viewing the print preview: - Summary - Holds history - Messaging - Lists - Suggestions - The "Personal details" tab hasn't been improved for printing but it's a good page to view to confirm that the "Back to top" arrow is now hidden in the print view. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Pushed for 24.05! Well done everyone, thank you!
Does not apply on 23.11.x Maybe no need to backport.