From 97d09e2e33128cd670b90dbb4a711117578afde7 Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Tue, 7 Sep 2021 18:59:51 +0800 Subject: [PATCH] Hide icon when printing --- src/styles/index.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/styles/index.scss b/src/styles/index.scss index 5a7a36c..ad18391 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -288,6 +288,12 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header- left: -40px; } + @media print { + & { + display: none; + } + } + .#{$name}-toggle-show-button { @include icon-button(transparent, transparent, transparent); background: transparent;