From 45582f29927ca3d2271a64f1a8621a2fa1e7001c Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sat, 25 Jan 2020 15:40:29 +0100 Subject: material: replace display: flex with block in print mode This change is a workaround for a reported issue with printing flex items on Firefox See: https://bugzilla.mozilla.org/show_bug.cgi?id=939897 Fixes #4251 Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/media_queries.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/Resources') diff --git a/app/Resources/static/themes/material/css/media_queries.scss b/app/Resources/static/themes/material/css/media_queries.scss index 6f9d2a95..4242ead2 100644 --- a/app/Resources/static/themes/material/css/media_queries.scss +++ b/app/Resources/static/themes/material/css/media_queries.scss @@ -187,3 +187,9 @@ display: none; } } + +@media only print { + body { + display: block; + } +} -- cgit v1.2.3 From 3dcb701975f94b656ca80f7b2a7528dd5166c69f Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sat, 25 Jan 2020 15:42:43 +0100 Subject: baggy: remove logo from printed pages Signed-off-by: Kevin Decherf --- app/Resources/static/themes/baggy/css/media_queries.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/Resources') diff --git a/app/Resources/static/themes/baggy/css/media_queries.scss b/app/Resources/static/themes/baggy/css/media_queries.scss index c33db0b3..a08f369f 100755 --- a/app/Resources/static/themes/baggy/css/media_queries.scss +++ b/app/Resources/static/themes/baggy/css/media_queries.scss @@ -170,3 +170,9 @@ width: 100%; } } + +@media only print { + header h1.logo { + display: none; + } +} -- cgit v1.2.3