mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Hide elements when printing (#1559)
* Hide elements when printing * Hide elements when printing * Also hide the title menu collapse button * Added a print button All print-optimized pages have that Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right d-print-none">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
@@ -90,8 +90,12 @@
|
||||
<i class="fas fa-ellipsis-v"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100"
|
||||
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 d-print-none"
|
||||
id="related-links">
|
||||
<a id="print-meal-plan-button"
|
||||
class="btn btn-outline-dark m-1 mt-md-0 mb-md-0 float-right">
|
||||
{{ $__t('Print') }}
|
||||
</a>
|
||||
<a class="btn btn-outline-secondary m-1 mt-md-0 mb-md-0 float-right"
|
||||
href="{{ $U('/mealplansections') }}">
|
||||
{{ $__t('Configure sections') }}
|
||||
|
Reference in New Issue
Block a user