Bring back content-visibility: auto for replies

With a fix
This commit is contained in:
Lim Chee Aun 2024-09-21 12:08:34 +08:00
parent 9345f8b44c
commit f2cc0f5bec

View file

@ -367,9 +367,14 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
border-bottom: var(--hairline-width) solid var(--divider-color); border-bottom: var(--hairline-width) solid var(--divider-color);
--line-dir: var(--to-forward); --line-dir: var(--to-forward);
} }
.timeline:not(.contextual) > li + li:not(.timeline-item-carousel) { .timeline > li + li:not(.timeline-item-carousel) {
content-visibility: auto; content-visibility: auto;
contain-intrinsic-size: auto 160px; contain-intrinsic-size: auto 160px;
&:is(:hover, :focus-visible) {
/* Needed to undo the overflow: hidden "effect" due to "content-visibility: auto" */
content-visibility: visible;
}
} }
.timeline.flat > li { .timeline.flat > li {
border-bottom: none; border-bottom: none;