From 11a494802630fa9e9bee39ac4c20394cf6c615e4 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Tue, 8 May 2018 15:12:24 -0700 Subject: Remove sidebar, flash container, and URLs from print pages --- app/assets/stylesheets/print.scss | 8 +++++++- changelogs/unreleased/23465-print-markdown.yml | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/23465-print-markdown.yml diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index b07a5ae22cd..90ccd4abd90 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -36,7 +36,9 @@ ul.notes-form, .gutter-toggle, .issuable-details .content-block-small, .edit-link, -.note-action-button { +.note-action-button, +.right-sidebar, +.flash-container { display: none !important; } @@ -53,3 +55,7 @@ pre { .right-sidebar { top: 0; } + +a[href]::after { + content: none !important; +} diff --git a/changelogs/unreleased/23465-print-markdown.yml b/changelogs/unreleased/23465-print-markdown.yml new file mode 100644 index 00000000000..ba950667acc --- /dev/null +++ b/changelogs/unreleased/23465-print-markdown.yml @@ -0,0 +1,5 @@ +--- +title: Fix print styles for markdown pages +merge_request: +author: +type: fixed -- cgit v1.2.3