Extra bits were showing due to recent changes.
Done a quick pass through major display views.
Fixes #4594
@use "sass:math";
@import "variables";
@use "sass:math";
@import "variables";
-header {
- display: none;
-}
-
html, body {
font-size: 12px;
background-color: #FFF;
html, body {
font-size: 12px;
background-color: #FFF;
+ <div class="mb-s print-hidden">
@include('entities.breadcrumbs', ['crumbs' => [
$book,
]])
@include('entities.breadcrumbs', ['crumbs' => [
$book,
]])
@if(count(setting('app-footer-links', [])) > 0)
@if(count(setting('app-footer-links', [])) > 0)
+<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
@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
-<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"
<div>
@include('layouts.parts.header-logo')
<button type="button"
@if ($commentTree->enabled())
@if(($previous || $next))
@if ($commentTree->enabled())
@if(($previous || $next))
+ <div class="px-xl print-hidden">
<hr class="darker">
</div>
@endif
<hr class="darker">
</div>
@endif
+ <div class="mb-s print-hidden">
@include('entities.breadcrumbs', ['crumbs' => [
$shelf,
]])
@include('entities.breadcrumbs', ['crumbs' => [
$shelf,
]])