From 5531f908af65a19d8a1ab6571aa0674503d317a4 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Tue, 20 Sep 2022 00:22:02 +0300 Subject: [PATCH] Allow pages to be properly printable --- base.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/base.css b/base.css index 635eb96..f55a66d 100644 --- a/base.css +++ b/base.css @@ -26,6 +26,12 @@ body { scrollbar-width: none; } +@media print { + .content { + overflow-y: unset; + } +} + .content::-webkit-scrollbar { display: none; } @@ -215,10 +221,15 @@ input { } .hidden { - display: none; + display: none !important; } body { font-family: -apple-system, BlinkMacSystemFont, Ubuntu, 'Segoe UI', 'Roboto', Sans-Serif; } +@media print { + footer, .no-print { + display: none !important; + } +}