From 95f745397c7ce14d85bf4d9faebf7a5f8cf2eee1 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Tue, 18 Jan 2022 12:38:32 +0100 Subject: [PATCH] Fix print styles and remove header footer from print --- src/lib/styles/global.css.ts | 3 +++ static/print.css | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/lib/styles/global.css.ts b/src/lib/styles/global.css.ts index f742331..7d88be2 100644 --- a/src/lib/styles/global.css.ts +++ b/src/lib/styles/global.css.ts @@ -21,6 +21,9 @@ globalStyle('body', { [`screen and (min-width: ${breakpoints.m}px)`]: { fontSize: '24px', }, + print: { + fontSize: '12px', + } }, }) diff --git a/static/print.css b/static/print.css index 2a3e6cc..b2d739d 100644 --- a/static/print.css +++ b/static/print.css @@ -4,4 +4,13 @@ body { .app-content nav { display: none; -} \ No newline at end of file +} + +.page-navigation { + display: none; +} + +.site-footer { + display: none; +} +