Skip to content

High performance self-hosted photo and video management solution.

fix(web): timeline date group width (#19964)

Benbaadf9db20ec
diff --git a/web/src/lib/utils/layout-utils.ts b/web/src/lib/utils/layout-utils.ts
index 429055b92a..e850371b16 100644
--- a/web/src/lib/utils/layout-utils.ts
+++ b/web/src/lib/utils/layout-utils.ts
@@ -57,7 +57,7 @@ class Adapter {
this.result = result;
this.width = 0;
for (const box of this.result.boxes) {
- if (box.top < 100) {
+ if (box.top === 0) {
this.width = box.left + box.width;
} else {
break;