From 6fc9522ca03edbd8e2b0d45cb23d6ceed6d13615 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 27 Apr 2022 20:25:09 +0200 Subject: [PATCH] Add print-friendly styles on reports --- src/purchase/static/purchase/css/reports.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/purchase/static/purchase/css/reports.css b/src/purchase/static/purchase/css/reports.css index 2326d72..1802c82 100644 --- a/src/purchase/static/purchase/css/reports.css +++ b/src/purchase/static/purchase/css/reports.css @@ -2,3 +2,13 @@ svg { max-width: 100%; height: auto; } + +@media print { + .navbar { + display: none; + } + a { + color: inherit; + text-decoration: none; + } +}