Files
freshrss-read-more/static/read-more.css
T
Vincent BourdonandClaude Opus 5.5 ccb230d514 fix: fondu du repli par masque CSS, indépendant du thème
Le dégradé vers --frss-background-color laissait une bande visible en thème
sombre (fond de l'article différent). Durcit aussi reset.php des tests e2e
(écriture atomique, attente de la revalidation opcache).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 19:10:49 +01:00

17 lines
666 B
CSS

/* Read More — collapsed articles in reader view.
* max-height only: the article must keep a non-zero height so that
* FreshRSS still marks it as read when scrolled past. */
.flux .text.read-more-collapsed {
box-sizing: border-box; /* configured height = visible height, padding included */
max-height: var(--read-more-height, 250px);
overflow: hidden;
/* Fade out the last lines; a mask works with every theme background. */
-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 4em), transparent);
mask-image: linear-gradient(to bottom, #000 calc(100% - 4em), transparent);
}
.flux .read-more-btn {
display: block;
margin: 0.5em auto 1em;
}