1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-06 12:02:45 +03:00

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
6 changed files with 5 additions and 9 deletions

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"