fixed load-image-btn in read-mode
authorPhiTux <redacted>
Sat, 4 Oct 2025 23:08:11 +0000 (01:08 +0200)
committerPhiTux <redacted>
Sat, 4 Oct 2025 23:08:11 +0000 (01:08 +0200)
frontend/src/routes/(authed)/read/+page.svelte
frontend/src/routes/login/+page.svelte

index 83095a4a95ecd943d49ddea7eae56b915a56d613..c70caa5a07cb6bba0962c647614026ebf0b6d642 100644 (file)
 
        // copy of files, which are images
        $effect(() => {
-               if (logs) {
+               if (logs.length > 0) {
                        logs.forEach((log) => {
                                if (log.files) {
                                        if (!log.images) {
                                        });
                                }
                        });
-                       getImagesTotalSize();
                }
        });
 
                                                }
                                        }
                                });
+
+                               setTimeout(() => {
+                                       getImagesTotalSize();
+                               }, 100);
                        });
        }
 
index 17d82b17bcdb5da7aafff1620234632c08c13759..e24fc407c99ab59a164b7c5d47d96f07ae1078e7 100644 (file)
                min-height: 10%;
                filter: drop-shadow(0 0 0.7rem #7e7e7e);
                transition: 0.3s ease;
+               overflow: visible;
        }
 
        #largeLogo:hover {
git clone https://git.99rst.org/PROJECT