diff --git a/AGENTS.md b/AGENTS.md index 514d95e..3d90e5b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,6 +14,7 @@ Also see the other related files: API.md, IIS.md, SPEC.md ## Working Style - After every iteration, do a git commit with a brief summary of the changes as a commit message. +- If you find unexpected changes in the code, never revert them without asking first. - Implement API first, UI second - Keep changes small and testable - Prefer clarity over abstraction diff --git a/wwwroot/app.js b/wwwroot/app.js index 780a29f..36e66fb 100644 --- a/wwwroot/app.js +++ b/wwwroot/app.js @@ -839,9 +839,9 @@ function setupCardVisualHover(el, url) { function setupBackgroundPan(config = {}) { const root = document.documentElement; - const maxOffset = config.maxOffsetPx ?? 30; - const ease = config.ease ?? 0.08; - const scaleFactor = config.scaleFactor ?? 1.12; + const maxOffset = config.maxOffsetPx ?? 10; + const ease = config.ease ?? 0.03; + const scaleFactor = config.scaleFactor ?? 1.05; if (scaleFactor) { root.style.setProperty("--bg-scale", scaleFactor); }