mirror of
https://github.com/immich-app/immich.git
synced 2025-12-06 01:10:00 +03:00
fix(web): make sliding window cover all visible space to show small number of assets (#23796)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user