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
@@ -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;