Update CSS for wiki print to pdf issue (#582394)

What does this MR do and why?

This MR addresses an issue with the Print as PDF option for Wiki pages. Currently, the left sidebar of the Wiki page appears in the print preview. This change hides the left sidebar of the Wiki page when printing.

References

The linked issue for this MR is #582394

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

  1. I recreated this using Chrome Version 138.0.7204.184 on macOS BigSur 11.7.10.
  2. Create a Wiki page with some content.
  3. Ensure that the Wiki page sidebar is expanded (open).
  4. Try print/save as PDF (command + p on macOS).
  5. You will see that the Wiki page left sidebar appears in the print preview.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #582394

Merge request reports

Loading