fix(ui): Adjust bottom nav padding, fix router scroll, keep session on PWA, and add ETA loading state

This commit is contained in:
2026-03-12 13:53:56 -05:00
parent 512711ecf5
commit 1d3f0ce2fa
4 changed files with 17 additions and 6 deletions

View File

@ -5,6 +5,13 @@ import { useAuthStore } from '@/stores/auth'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
scrollBehavior(_to, _from, savedPosition) {
if (savedPosition) {
return savedPosition;
} else {
return { top: 0 };
}
},
routes: [
// ─── Vistas Públicas Core ───────────────────────────────────────────
{