Hide search panel and tags panel in print

Add CSS ID for search and tags panels and hide in media `@print`.

Issue: #2435

Signed-off-by: Bernhard Bock <bernhard@bock.nu> (github: bbock)
This commit is contained in:
Bernhard Bock 2018-09-21 14:23:20 +02:00
parent f1b50fe12f
commit 68a269b266
3 changed files with 8 additions and 2 deletions

View File

@ -451,4 +451,10 @@ textarea {
.sub-header {
display: none;
}
#panel-search {
display: none;
}
#panel-tags {
display: none;
}
}

View File

@ -1,6 +1,6 @@
{% load form_helpers %}
<div class="panel panel-default">
<div class="panel panel-default" id="panel-search">
<div class="panel-heading">
<span class="fa fa-search" aria-hidden="true"></span>
<strong>Search</strong>

View File

@ -1,6 +1,6 @@
{% load helpers %}
<div class="panel panel-default">
<div class="panel panel-default" id="panel-tags">
<div class="panel-heading">
<span class="fa fa-tags" aria-hidden="true"></span>
<strong>Tags</strong>