This commit is contained in:
2026-05-07 14:41:22 +02:00
parent 063294edf3
commit f55e4c19a4
3 changed files with 63 additions and 12 deletions
+25 -7
View File
@@ -393,10 +393,6 @@ svg.ext {
.path-projets-complets .print-header {
display: none;
}
.path-projets-complets .print-header img {
width: 2cm;
height: auto;
}
.path-projets-complets .print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
@@ -594,6 +590,31 @@ svg.ext {
content: ":";
padding-left: 0.5rem;
}
@media print {
.path-projets-complets .path-projets-complets .layout-content {
width: 100% !important;
margin: 0 auto !important;
}
.path-projets-complets .path-projets-complets .projet-content {
display: block !important;
}
.path-projets-complets .path-projets-complets .field--name-field-photo .field__items {
display: block !important;
height: auto !important;
}
.path-projets-complets .path-projets-complets .field--name-field-photo .field__item {
display: block !important;
aspect-ratio: auto !important;
overflow: visible !important;
margin-bottom: 4mm;
}
.path-projets-complets .path-projets-complets .field--name-field-photo .field__item img {
width: 100% !important;
height: auto !important;
object-fit: contain !important;
display: block;
}
}
@media print {
* {
@@ -612,9 +633,6 @@ svg.ext {
.layout-container {
display: block;
}
.path-projets-complets .layout-content {
width: 80vw;
}
.path-projets-complets .layout-content .print-header {
position: absolute;
top: 1cm;
@@ -21,10 +21,10 @@
.print-header img {
width: 2cm;
height: auto;
}
// .print-header img {
// width: 2cm;
// height: auto;
// }
.print-header__text {
text-transform: uppercase;
@@ -260,4 +260,37 @@
}
}
@media print {
.path-projets-complets {
.layout-content {
width: 100% !important;
margin: 0 auto !important;
}
.projet-content {
display: block !important;
}
.field--name-field-photo {
.field__items {
display: block !important;
height: auto !important;
}
.field__item {
display: block !important;
aspect-ratio: auto !important;
overflow: visible !important;
margin-bottom: 4mm;
}
.field__item img {
width: 100% !important;
height: auto !important;
object-fit: contain !important;
display: block;
}
}
}
}
}
@@ -21,7 +21,7 @@
.path-projets-complets {
.layout-content{
width: 80vw;
// width: 80vw;
.print-header {
position: absolute;