Skip to content

Commit

Permalink
fix: print css view
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Jul 24, 2019
1 parent 7f4e392 commit 18b0531
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 40 deletions.
2 changes: 0 additions & 2 deletions client/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@
@import 'pages/error';

@import 'layout/_rtl';

@import 'base/print';
38 changes: 0 additions & 38 deletions client/scss/base/print.scss

This file was deleted.

36 changes: 36 additions & 0 deletions client/themes/default/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -633,3 +633,39 @@
}

}

// ---------------
// PRINT OVERRIDES
// ---------------

@media print {
.nav-header,
.v-navigation-drawer,
.v-footer,
.v-btn--floating,
.page-col-sd
{
display: none;
}

.page-col-content {
flex-basis: 100% !important;
flex-grow: 1 !important;
max-width: 100% !important;

> .v-toolbar {
border: 1px solid mc('grey', '300') !important;
border-radius: 7px !important;

& + .v-divider {
display: none !important;
}
}
}

.v-content {
padding: 0 !important;
}


}

0 comments on commit 18b0531

Please sign in to comment.