1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 13:14:20 +00:00

optimisation impression

This commit is contained in:
Maxime Moraine 2020-04-16 17:25:39 +02:00
parent 9add7369de
commit fc5e3cad66
4 changed files with 49 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<template>
<div>
<div class="d-print-none">
<v-breadcrumbs v-if="$route.path != '/'" :items="bread">
<template v-slot:item="{ item }">
<v-breadcrumbs-item :to="item.to" :exact="true" :disabled="item.disabled">

View file

@ -1,5 +1,5 @@
<template>
<div class="">
<div class="d-print-none">
<v-divider class="my-4"/>
<v-btn v-if="reposity && !$page.frontmatter.notEditable" link depressed :href="source" target="_blank" color="accent" outlined><v-icon left>mdi-pencil</v-icon> Modifier</v-btn>
</div>

View file

@ -0,0 +1,46 @@
@media print {
body {
font-size: 9pt;
font-family: serif;
padding-top: 0;
margin-top: 0;
}
.p2c {
column-count: 2;
column-gap: 18pt;
}
.p3c {
column-count: 3;
column-gap: 18pt;
}
.v-content {
padding: 0 !important
}
table {
overflow: hidden;
max-width: 100%;
th, td {
border-bottom: 1px solid #000;
}
th {
padding: 5px;
}
td {
padding: 5px;
&.visible-laptop {
display: table-cell;
}
span.label {
display: none;
}
}
}
}

View file

@ -5,5 +5,6 @@
@import "tables";
@import "blocks";
@import "layout";
@import "print";
@import "tooltips";