Mercurial > gemma
changeset 888:2e2ac0b88af9
client: hide menu button and box for print
* Use bootstrap 4's class to hide the menu button and box from printing.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 01 Oct 2018 17:46:58 +0200 |
parents | aae517757923 |
children | afd83fb3399d 074ce4891466 e4b72a199258 |
files | client/src/application/Sidebar.vue client/src/application/Topbar.vue |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/application/Sidebar.vue Mon Oct 01 17:41:00 2018 +0200 +++ b/client/src/application/Sidebar.vue Mon Oct 01 17:46:58 2018 +0200 @@ -44,7 +44,8 @@ overlay: true, sidebarcollapsed: this.sidebarCollapsed, sidebarextended: !this.sidebarCollapsed, - shadow: true + shadow: true, + "d-print-none": true }; } }
--- a/client/src/application/Topbar.vue Mon Oct 01 17:41:00 2018 +0200 +++ b/client/src/application/Topbar.vue Mon Oct 01 17:46:58 2018 +0200 @@ -1,7 +1,7 @@ <template> <div class="topbar d-flex flex-row"> <div @click="toggleSidebar"> - <i class="ui-element menubutton fa fa-bars"></i> + <i class="ui-element menubutton d-print-none fa fa-bars"></i> </div> <div v-if="routeName == 'mainview'" :class="searchbarContainerStyle"> <div class="input-group-prepend shadow">