twig header print

This commit is contained in:
2026-05-21 18:37:06 +02:00
parent 85492a5ffe
commit 8cbd6e4acd
6 changed files with 75 additions and 33 deletions
+19 -9
View File
@@ -621,16 +621,28 @@ svg.ext {
display: block;
}
.path-projets-complets .layout-content .print-header {
position: absolute;
top: 1cm;
right: 1cm;
position: relative !important;
top: auto !important;
right: auto !important;
display: flex !important;
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid #ccc;
break-after: avoid;
page-break-after: avoid;
}
.path-projets-complets .layout-content .print-header__left,
.path-projets-complets .layout-content .print-header__right {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 1rem;
}
.path-projets-complets .layout-content .print-header img {
width: 2cm;
height: auto;
max-height: 55px;
width: auto;
}
.path-projets-complets .layout-content .print-header__text {
text-transform: uppercase;
@@ -639,7 +651,7 @@ svg.ext {
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
text-align: end;
text-align: right;
}
.path-projets-complets .layout-content .view-header,
.path-projets-complets .layout-content .view-filters {
@@ -815,8 +827,6 @@ svg.ext {
content: ":";
padding-left: 0.5rem;
}
}
@media print {
.path-projets-complets .layout-content .views-row .projet-header-print .path-projets-complets .layout-content {
width: 100% !important;
margin: 0 auto !important;