From 5ad68249121e39a735e238c99b9145eaf04009fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 6 Oct 2021 19:53:33 +0200 Subject: [PATCH] theme: hide sticky breadcrumbs for printing #93 --- static/css/print.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/css/print.css b/static/css/print.css index 83800081e9..4643db9164 100644 --- a/static/css/print.css +++ b/static/css/print.css @@ -73,9 +73,11 @@ hr{ } #top-bar{ /* the header is sticky which is not suitable for print; */ - box-shadow: initial; position: inherit; /* IE11 doesn't know "initial" here */ } +#top-bar.is-sticky { + box-shadow: initial; +} #body .tab-nav-button:not(.active) { opacity: .5; }