Merge pull request 'perf(frontend): content-visibility on andebol.net FPA agenda cards (BIT-28144)' (#42) from fix/BIT-28144-andebol-fpa-agenda-content-visibility into main
This commit was merged in pull request #42.
This commit is contained in:
commit
6b95f4dd72
1 file changed
+8
@@ -352,6 +352,14 @@ const date_groups = [...by_date.entries()];
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fpa-agenda__card {
|
||||||
|
/* Up to 48 cards can render on this list (FPA_AGENDA_MAX); most sit below the
|
||||||
|
fold. content-visibility skips style/layout/paint for off-screen cards,
|
||||||
|
which is where the bulk of this section's main-thread cost comes from. */
|
||||||
|
content-visibility: auto;
|
||||||
|
contain-intrinsic-size: 0 260px;
|
||||||
|
}
|
||||||
|
|
||||||
.fpa-agenda__match {
|
.fpa-agenda__match {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in new issue
Block a user