From e06f9a8385c33f8e47c80ef90412dde01f8047ea Mon Sep 17 00:00:00 2001 From: Ferran Recio Date: Tue, 3 Dec 2019 14:07:15 +0100 Subject: [PATCH] MDL-67154 theme_boost: fixing firefox printing --- theme/boost/templates/columns1.mustache | 6 +++--- theme/boost/templates/columns2.mustache | 6 +++--- theme/upgrade.txt | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/theme/boost/templates/columns1.mustache b/theme/boost/templates/columns1.mustache index eef017b32f5..024b958ef7a 100644 --- a/theme/boost/templates/columns1.mustache +++ b/theme/boost/templates/columns1.mustache @@ -41,12 +41,12 @@ {{> core/local/toast/wrapper}} -
+
{{{ output.standard_top_of_body_html }}} -
-
+
+
{{{ output.course_content_header }}} diff --git a/theme/boost/templates/columns2.mustache b/theme/boost/templates/columns2.mustache index 4fca4fb6e51..28a50ad895e 100644 --- a/theme/boost/templates/columns2.mustache +++ b/theme/boost/templates/columns2.mustache @@ -53,16 +53,16 @@ {{> core/local/toast/wrapper}} -
+
{{{ output.standard_top_of_body_html }}} {{> theme_boost/navbar }} -
+
{{{ output.full_header }}} -
+
{{#hasregionmainsettingsmenu}}
diff --git a/theme/upgrade.txt b/theme/upgrade.txt index 84fc644fb0d..3d2651dd7c2 100644 --- a/theme/upgrade.txt +++ b/theme/upgrade.txt @@ -1,6 +1,10 @@ This files describes API changes in /theme/* themes, information provided here is intended especially for theme designer. +=== 3.9 === + +* Add class .d-print-block to #page, #page-wrapper and #page content to fix Firefox printing problems + === 3.8 === * Moodle does not produce chunked CSS anymore, instead an unique css fils is generated and served (MDL-55751). This implies: -- 2.43.0