Print Styles: Fixed header/footer content showing

Extra bits were showing due to recent changes.
Done a quick pass through major display views.

Fixes #4594
This commit is contained in:
Dan Brown 2023-10-03 14:59:35 +01:00
parent 1005f4bd7a
commit c5d5b6e3c1
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
6 changed files with 5 additions and 9 deletions

View File

@ -1,10 +1,6 @@
@use "sass:math";
@import "variables";
header {
display: none;
}
html, body {
font-size: 12px;
background-color: #FFF;

View File

@ -17,7 +17,7 @@
@section('body')
<div class="mb-s">
<div class="mb-s print-hidden">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
]])

View File

@ -1,5 +1,5 @@
@if(count(setting('app-footer-links', [])) > 0)
<footer>
<footer class="print-hidden">
@foreach(setting('app-footer-links', []) as $link)
<a href="{{ $link['url'] }}" target="_blank" rel="noopener">{{ strpos($link['label'], 'trans::') === 0 ? trans(str_replace('trans::', '', $link['label'])) : $link['label'] }}</a>
@endforeach

View File

@ -1,4 +1,4 @@
<header id="header" component="header-mobile-toggle" class="primary-background px-xl grid">
<header id="header" component="header-mobile-toggle" class="primary-background px-xl grid print-hidden">
<div>
@include('layouts.parts.header-logo')
<button type="button"

View File

@ -29,7 +29,7 @@
@if ($commentTree->enabled())
@if(($previous || $next))
<div class="px-xl">
<div class="px-xl print-hidden">
<hr class="darker">
</div>
@endif

View File

@ -11,7 +11,7 @@
@section('body')
<div class="mb-s">
<div class="mb-s print-hidden">
@include('entities.breadcrumbs', ['crumbs' => [
$shelf,
]])