Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-05-10 17:10:57 +0300
committerSam Rose <sam@gitlab.com>2017-05-10 17:16:46 +0300
commit5b376e654ac656088e0a6e5c3e63c341cac97043 (patch)
treedd1ba938d1fd7eb1bbc6bbae3e9efbbba9cdd3d3 /app/assets/stylesheets/print.scss
parent46a6fb38809fe8482fd8fb60fcfd979226e1321e (diff)
Include blob content when printing page
Diffstat (limited to 'app/assets/stylesheets/print.scss')
-rw-r--r--app/assets/stylesheets/print.scss8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss
index 6cc1cc8e263..136d0c79467 100644
--- a/app/assets/stylesheets/print.scss
+++ b/app/assets/stylesheets/print.scss
@@ -28,9 +28,6 @@ nav.navbar-collapse.collapse,
.profiler-results,
.tree-ref-holder,
.tree-holder .breadcrumb,
-.blob-commit-info,
-.file-title,
-.file-holder,
.nav,
.btn,
ul.notes-form,
@@ -43,6 +40,11 @@ ul.notes-form,
display: none!important;
}
+pre {
+ page-break-before: avoid;
+ page-break-inside: auto;
+}
+
.page-gutter {
padding-top: 0;
padding-left: 0;