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>
This commit is contained in:
1 parent
07f936ae80
commit
ccb230d514
3 files changed
+23
-13
No files matched your search
+3
-12
@@ -5,18 +5,9 @@
|
||||
box-sizing: border-box; /* configured height = visible height, padding included */
|
||||
max-height: var(--read-more-height, 250px);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.flux .text.read-more-collapsed::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 4em;
|
||||
background: linear-gradient(to bottom, transparent, var(--frss-background-color, #fff));
|
||||
pointer-events: none;
|
||||
/* 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 {
|
||||
|
||||
Reference in new issue
Block a user