Commit f737a079 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '31781-print-rendered-files-not-possible' into 'master'

Include blob content when printing page

Closes #31781

See merge request !11247
parents 2e92c5c4 5b376e65
...@@ -28,9 +28,6 @@ nav.navbar-collapse.collapse, ...@@ -28,9 +28,6 @@ nav.navbar-collapse.collapse,
.profiler-results, .profiler-results,
.tree-ref-holder, .tree-ref-holder,
.tree-holder .breadcrumb, .tree-holder .breadcrumb,
.blob-commit-info,
.file-title,
.file-holder,
.nav, .nav,
.btn, .btn,
ul.notes-form, ul.notes-form,
...@@ -43,6 +40,11 @@ ul.notes-form, ...@@ -43,6 +40,11 @@ ul.notes-form,
display: none!important; display: none!important;
} }
pre {
page-break-before: avoid;
page-break-inside: auto;
}
.page-gutter { .page-gutter {
padding-top: 0; padding-top: 0;
padding-left: 0; padding-left: 0;
......
---
title: Include the blob content when printing a blob page
merge_request: 11247
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment