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

@ -701,7 +701,7 @@ watch([() => authStore.userProfile?.auto_location, isLoaded], ([canLocate, loade
:walk-distance="distanciaMetros"
:walk-duration="duracionCaminata"
:buses="busesActivos"
:is-loading="etaCargando"
:is-loading="etaCargando || isUpdatingMarkers || flujoCargando"
@close="handleETACardDismiss"
@refresh="paradaCercana && routeStore.selectedRouteId ? calcularETA(routeStore.selectedRouteId, paradaCercana) : null"
/>
@ -751,7 +751,7 @@ watch([() => authStore.userProfile?.auto_location, isLoaded], ([canLocate, loade
.map-floating-controls {
position: fixed;
bottom: 85px;
bottom: calc(95px + var(--safe-area-bottom));
right: 16px;
display: flex;
flex-direction: column;
@ -865,6 +865,8 @@ watch([() => authStore.userProfile?.auto_location, isLoaded], ([canLocate, loade
}
@media (max-width: 600px) {
.map-floating-controls { bottom: 100px; }
.map-floating-controls {
bottom: calc(100px + var(--safe-area-bottom));
}
}
</style>