From 3fe3b0bb21a1c430ee0e593df4489afc24a0af84 Mon Sep 17 00:00:00 2001 From: dawn <90008@gaze.systems> Date: Tue, 20 Jan 2026 07:15:45 +0300 Subject: [PATCH] dont set hidden but instead completely unmount timeline when we navigate this fixes an issue in chromium where if timeline is scrolled down and we navigate away, any other scroll causes the page scroll into overflow territory somehow --- .agent/rules/project-guide.md | 5 +++++ flake.lock | 19 ++++++++++--------- flake.nix | 2 +- src/routes/[...catchall]/+page.svelte | 17 ++++++++--------- 4 files changed, 24 insertions(+), 19 deletions(-) create mode 100644 .agent/rules/project-guide.md diff --git a/.agent/rules/project-guide.md b/.agent/rules/project-guide.md new file mode 100644 index 0000000..a35060f --- /dev/null +++ b/.agent/rules/project-guide.md @@ -0,0 +1,5 @@ +--- +trigger: always_on +--- + +1. this project uses deno. never try to use npx, use `deno x` instead. you can also use node if necessary. diff --git a/flake.lock b/flake.lock index 54620a3..cc99774 100644 --- a/flake.lock +++ b/flake.lock @@ -17,26 +17,27 @@ }, "nixpkgs": { "locked": { - "lastModified": 1761850514, - "narHash": "sha256-qmg1yC6ybzH0/w4Bupx1hpgTS5MTl2qBMoD+DFx3hWM=", + "lastModified": 1768783163, + "narHash": "sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo+w8KsY4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1c3d5f4e01f0b18b508be644d9d6a196fb7ed1f5", + "rev": "bde09022887110deb780067364a0818e89258968", "type": "github" }, "original": { "owner": "nixos", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-lib": { "locked": { - "lastModified": 1754788789, - "narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=", + "lastModified": 1765674936, + "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "a73b9c743612e4244d865a2fdee11865283c04e6", + "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", "type": "github" }, "original": { @@ -50,11 +51,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1760948891, - "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", + "lastModified": 1768135262, + "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", + "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index e3a8ed9..e3a5851 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ { inputs.parts.url = "github:hercules-ci/flake-parts"; - inputs.nixpkgs.url = "github:nixos/nixpkgs"; + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; inputs.naked-shell.url = "github:90-008/mk-naked-shell"; outputs = inp: diff --git a/src/routes/[...catchall]/+page.svelte b/src/routes/[...catchall]/+page.svelte index 90e46c9..cc55534 100644 --- a/src/routes/[...catchall]/+page.svelte +++ b/src/routes/[...catchall]/+page.svelte @@ -208,15 +208,14 @@