Compare commits

..

3 Commits

Author SHA1 Message Date
4bab188df7 Merge pull request 'Fix glossary home hero follow truncation' (#356) from fix/glossary-home-hero-follow-no-truncation into main
All checks were successful
CI / build-and-anchors (push) Successful in 44s
Proposer Apply (Queue) / apply-proposer (push) Successful in 26s
SMOKE / smoke (push) Successful in 11s
Deploy staging+live (annotations) / deploy (push) Successful in 9m16s
Reviewed-on: #356
2026-05-06 11:50:48 +00:00
aaed642cec Fix glossary home hero follow truncation
All checks were successful
SMOKE / smoke (push) Successful in 4s
CI / build-and-anchors (push) Successful in 38s
CI / build-and-anchors (pull_request) Successful in 40s
2026-05-06 13:48:23 +02:00
b4f2de438e Merge pull request 'Stabilize commencer editorial reveal spacing' (#355) from fix/commencer-reveal-css-stabilization into main
All checks were successful
Proposer Apply (Queue) / apply-proposer (push) Successful in 24s
CI / build-and-anchors (push) Successful in 42s
SMOKE / smoke (push) Successful in 8s
Deploy staging+live (annotations) / deploy (push) Successful in 9m26s
Reviewed-on: #355
2026-05-06 08:26:22 +00:00

View File

@@ -457,4 +457,86 @@ const {
line-height: 1.08 !important;
}
}
/* =========================================================
Glossaire home — follow hero sans troncature
========================================================= */
/*
Le follow du hero doit rester affiché, mais ne doit jamais
être traité comme une ligne compacte à ellipsis.
On neutralise donc localement les règles de compression :
nowrap, overflow hidden, text-overflow, line-clamp.
*/
.glossary-hero{
overflow: visible;
}
.glossary-hero-follow{
height: auto;
max-height: none;
overflow: visible;
white-space: normal !important;
text-overflow: clip !important;
}
.glossary-hero-follow,
.glossary-hero-follow *{
min-width: 0;
}
.glossary-hero-follow h1,
.glossary-hero-follow p,
.glossary-hero-follow .glossary-hero__collapsible,
.glossary-hero-follow .glossary-hero__toggle{
white-space: normal !important;
overflow: visible !important;
text-overflow: clip !important;
display: block;
-webkit-line-clamp: unset !important;
line-clamp: unset !important;
-webkit-box-orient: unset !important;
}
:global(body.glossary-home-follow-on) .glossary-hero{
min-height: auto;
height: auto;
max-height: none;
overflow: visible;
}
:global(body.glossary-home-follow-on) .glossary-hero h1{
white-space: normal !important;
overflow: visible !important;
text-overflow: clip !important;
display: block;
-webkit-line-clamp: unset !important;
line-clamp: unset !important;
-webkit-box-orient: unset !important;
}
:global(body.glossary-home-follow-on) .glossary-hero p#glossary-hero-intro{
white-space: normal !important;
overflow: visible !important;
text-overflow: clip !important;
display: block;
-webkit-line-clamp: unset !important;
line-clamp: unset !important;
-webkit-box-orient: unset !important;
}
@media (max-width: 760px){
.glossary-hero-follow{
max-height: none;
overflow: visible;
}
:global(body.glossary-home-follow-on) .glossary-hero h1,
:global(body.glossary-home-follow-on) .glossary-hero p#glossary-hero-intro{
-webkit-line-clamp: unset !important;
line-clamp: unset !important;
overflow: visible !important;
}
}
</style>