add css settings for printing: hide header, footer, sidebar, card borders, ...
This commit is contained in:
parent
62e945e785
commit
a4116f6bd2
1 changed files with 15 additions and 0 deletions
|
|
@ -70,3 +70,18 @@ p:last-child, ul:last-child {
|
||||||
padding-top: 0.3rem;
|
padding-top: 0.3rem;
|
||||||
padding-bottom: 0.3rem;
|
padding-bottom: 0.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* printing */
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
.site-header, #cs-sidebar, .pagination, footer {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.col-md-8 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.card, .card-header, .card-body {
|
||||||
|
border-bottom: none;
|
||||||
|
--bs-card-border-width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue