We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13c2df4 commit 625f894Copy full SHA for 625f894
1 file changed
src/lib/components/card-grid/CardGrid.svelte
@@ -55,7 +55,7 @@
55
{:else}
56
<div bind:this={cardGrid} class="card-grid">
57
{#each items as _item, index (_item.id)}
58
- <div bind:this={cards[index]} class="card-wrapper">
+ <div bind:this={cards[index]} class="card-wrapper" style:opacity={useAnimation && index >= previousCardsCount ? 0 : 1}>
59
{@render item(_item)}
60
</div>
61
{/each}
@@ -90,7 +90,6 @@
90
91
.card-wrapper {
92
width: 100%;
93
- opacity: 0;
94
}
95
96
@media (max-width: 640px) {
0 commit comments