Skip to content

Print Styles

Created by: GeorgeDewar

This change would add print styles to GitLab, so that:

  • The existing styles, such as fonts, would print (currently not the case)
  • The header would NOT display
  • Elements seen when viewing a file, other than the file itself, would not display

This has been specifically targeted at the case of printing a file from a repository (e.g. README.md). It would probably warrant review to think about how such styles should affect other parts of the application, so (like with my other PRs) it may be more of a conversation starter than a merge-now type thing.

See before and afters (printed to PDF):

Before: gitlab_no_print_styles

After: gitlab_print_styles

Merge request reports

Loading