lmimiter taile titre et sous titre dans teaser ressources

This commit is contained in:
2026-05-29 12:01:13 +02:00
parent 6c6a07e6f7
commit 67a99c3443
2 changed files with 32 additions and 2 deletions
+13 -1
View File
@@ -7854,6 +7854,13 @@ article.node-type-ressource .wrapper-ressource .field--name-title h2 a {
font-size: 0.9rem;
font-weight: 900;
font-style: normal;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.2em;
max-height: 4.8em;
}
@media (max-width: 810px) {
article.node-type-ressource .wrapper-ressource .field--name-title h2 {
@@ -7880,7 +7887,12 @@ article.node-type-ressource .wrapper-ressource .field--name-field-sous-titre {
order: 5;
font-size: 0.9rem;
font-weight: 900;
line-height: 1.5;
line-height: 1.5 !important;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
}
article.node-type-ressource .wrapper-ressource .field--name-field-edition {
order: 7;
@@ -56,6 +56,15 @@ article.node-type-ressource{
font-size: 0.9rem;
font-weight: 900;
font-style: normal;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.2em;
max-height: calc(1.2em * 4);
}
@media (max-width: 810px) {
line-height: 0 !important;
@@ -83,7 +92,16 @@ article.node-type-ressource{
order: 5;
font-size: 0.9rem;
font-weight: 900;
line-height: 1.5;
line-height: 1.5 !important;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
// line-height: 1.5em;
// max-height: calc(1.2em * 3);
}
.field--name-field-edition{
order: 7;