MDL-67154 theme_boost: fixing firefox printing

This commit is contained in:
Ferran Recio 2019-12-03 14:07:15 +01:00
parent 800563e415
commit e06f9a8385
3 changed files with 10 additions and 6 deletions

View File

@ -41,12 +41,12 @@
<body {{{ bodyattributes }}}>
{{> core/local/toast/wrapper}}
<div id="page-wrapper">
<div id="page-wrapper" class="d-print-block">
{{{ output.standard_top_of_body_html }}}
<div id="page" class="container-fluid">
<div id="page-content" class="row pb-3">
<div id="page" class="container-fluid d-print-block">
<div id="page-content" class="row pb-3 d-print-block">
<div id="region-main-box" class="col-12">
<section id="region-main" aria-label="{{#str}}content{{/str}}">
{{{ output.course_content_header }}}

View File

@ -53,16 +53,16 @@
<body {{{ bodyattributes }}}>
{{> core/local/toast/wrapper}}
<div id="page-wrapper">
<div id="page-wrapper" class="d-print-block">
{{{ output.standard_top_of_body_html }}}
{{> theme_boost/navbar }}
<div id="page" class="container-fluid">
<div id="page" class="container-fluid d-print-block">
{{{ output.full_header }}}
<div id="page-content" class="row pb-3">
<div id="page-content" class="row pb-3 d-print-block">
<div id="region-main-box" class="col-12">
{{#hasregionmainsettingsmenu}}
<div id="region-main-settings-menu" class="d-print-none {{#hasblocks}}has-blocks{{/hasblocks}}">

View File

@ -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: