Fix Minerva print mode to correctly show top of document

When we built the new main menu we started using a `nav` element.
Update selectors to hide the `nav` element when printing from
mobile.

When printing from tablet or desktop make sure the header is displayed.

Bug: T244181
Change-Id: I7f60fd11d969a48e1c7926ad8acc4213f9affed4
This commit is contained in:
jdlrobson 2020-02-17 13:59:48 -08:00 committed by VolkerE
parent 5f198fe0d8
commit b3b50ce854
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@
}
}
> nav,
> div {
display: none !important;
}

View file

@ -5,7 +5,8 @@
.noprint,
.banner-container,
.header,
.pre-content,
.minerva__tab-container,
.page-actions-menu,
.post-content {
display: none;
}