Skip to content

Commit 8d4e037

Browse files
committed
fix: firefox performance issue
1 parent b59d1be commit 8d4e037

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/lib/components/generic/InfiniteGrid.svelte

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,16 @@
6868

6969
<style>
7070
.grid {
71+
overflow: hidden;
72+
height: 100%;
7173
display: grid;
7274
}
7375
.grid > * {
74-
grid-row: 1;
75-
grid-column: 1;
76+
position: absolute;
77+
top: 0;
78+
left: 0;
79+
right: 0;
80+
bottom: 0;
7681
transition-property: none !important;
7782
}
7883
</style>

0 commit comments

Comments
 (0)