mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(web): make sliding window cover all visible space to show small number of assets (#23796)
This commit is contained in:
parent
0b3633db4f
commit
905f4375b0
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@
|
|||
let scrollTop = $state(0);
|
||||
let slidingWindow = $derived.by(() => {
|
||||
const top = (scrollTop || 0) - slidingWindowOffset;
|
||||
const bottom = top + viewport.height;
|
||||
const bottom = top + viewport.height + slidingWindowOffset;
|
||||
return {
|
||||
top,
|
||||
bottom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue