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:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-05-09 01:12:24 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-05-09 02:18:24 +0300
commit11a494802630fa9e9bee39ac4c20394cf6c615e4 (patch)
treec9f52c345528528b9a52d472e4ae295744381e85
parent5b0e96d09a7b6309384ef4c300c56872adba0626 (diff)
Remove sidebar, flash container, and URLs from print pages
-rw-r--r--app/assets/stylesheets/print.scss8
-rw-r--r--changelogs/unreleased/23465-print-markdown.yml5
2 files changed, 12 insertions, 1 deletions
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