fix: API_URL not defined in shuttle/admin views + fix shuttle card image display

This commit is contained in:
2026-02-26 11:46:37 -05:00
parent 86726e3dfc
commit ba7631dc9c
6 changed files with 19 additions and 41 deletions

View File

@ -860,12 +860,6 @@ function getShiftLabel(shift: string) {
.btn-whatsapp .material-icons { font-size: 20px; }
/* Original Styles */
.taxi-view {
min-height: 100vh;
position: relative;
padding: 0 0 150px; /* Aumentado para evitar solapamiento con BottomNav */
}
.taxi-view {
min-height: 100vh;
position: relative;
@ -879,41 +873,6 @@ function getShiftLabel(shift: string) {
border: 1px solid var(--border-color);
}
/* SHUTTLE CARD PREMIUM CON FONDO */
.shuttle-card {
border-radius: 20px;
overflow: hidden;
border: 1px solid var(--border-color);
background-size: cover;
background-position: center;
position: relative;
min-height: 160px;
display: flex;
flex-direction: column;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
}
.shuttle-card::before {
content: "";
position: absolute;
inset: 0;
/* Gradiente más fuerte para mejor contraste sobre cualquier imagen */
background: linear-gradient(
to top,
rgba(0,0,0,0.92) 0%,
rgba(0,0,0,0.65) 50%,
rgba(0,0,0,0.45) 100%
);
z-index: 0;
}
.shuttle-main-info, .shuttle-details {
position: relative;
z-index: 1;
padding: 20px;
}
.header-main {
padding: 24px 16px;
text-align: center;