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:
		
							parent
							
								
									1005f4bd7a
								
							
						
					
					
						commit
						c5d5b6e3c1
					
				| 
						 | 
				
			
			@ -1,10 +1,6 @@
 | 
			
		|||
@use "sass:math";
 | 
			
		||||
@import "variables";
 | 
			
		||||
 | 
			
		||||
header {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
html, body {
 | 
			
		||||
  font-size: 12px;
 | 
			
		||||
  background-color: #FFF;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
 | 
			
		||||
@section('body')
 | 
			
		||||
 | 
			
		||||
    <div class="mb-s">
 | 
			
		||||
    <div class="mb-s print-hidden">
 | 
			
		||||
        @include('entities.breadcrumbs', ['crumbs' => [
 | 
			
		||||
            $book,
 | 
			
		||||
        ]])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@
 | 
			
		|||
 | 
			
		||||
@section('body')
 | 
			
		||||
 | 
			
		||||
    <div class="mb-s">
 | 
			
		||||
    <div class="mb-s print-hidden">
 | 
			
		||||
        @include('entities.breadcrumbs', ['crumbs' => [
 | 
			
		||||
            $shelf,
 | 
			
		||||
        ]])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue