Skip to content

Commit

Permalink
Merge pull request #16 from enflujo/pistas-estilos-celular
Browse files Browse the repository at this point in the history
✨ Ficha técnica en tamaños de pantalla pequeña y grande
  • Loading branch information
anattolia authored Feb 7, 2024
2 parents d3c1c49 + acc77d6 commit ddbd791
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions src/componentes/Ficha.astro
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@
<style lang="scss">
@import '@/scss/constantes';
#contenedorFicha {
height: 80vh;
width: 50vw;
max-height: calc(100vh - 50px);
width: 96vw;
position: absolute;
display: none;
overflow-y: scroll;
left: 50vw;
right: 2vw;
top: 60px;
background-color: var(--fondoVerdeOscuro);
color: var(--textoClaro);
z-index: 5;
Expand All @@ -91,6 +92,15 @@
background-color: var(--resaltadoVerde);
flex-basis: 90%;
margin: 0;
padding: 0.5em 0;
}

#listaFicha {
margin: 0;
}

#tituloFicha {
margin: 0;
}

#conteoFicha {
Expand Down Expand Up @@ -139,4 +149,13 @@
opacity: 0.7;
}
}

// Cambiar estilos según tamaño de pantalla
@media screen and (min-width: $corte3) {
#contenedorFicha {
max-height: calc(100vh - 50px);
width: 35vw;
right: 0;
}
}
</style>

0 comments on commit ddbd791

Please sign in to comment.