Better scroll snapping

This commit is contained in:
Andy Smith
2026-01-02 12:22:07 -06:00
parent d3bfd14c22
commit 837b820291
2 changed files with 2 additions and 3 deletions
@@ -112,7 +112,7 @@ export default class extends Controller {
localStorage.setItem(key, true)
if (window.matchMedia('(max-width: 639px)').matches) {
column.scrollIntoView({ behavior: "smooth", inline: "nearest" })
column.scrollIntoView({ behavior: "smooth", inline: "center" })
}
}