Skip to content

Commit

Permalink
style: fix images about bank ripley design
Browse files Browse the repository at this point in the history
  • Loading branch information
felixicaza committed Aug 8, 2024
1 parent d2340b5 commit a1165d7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/pages/banco-ripley/_sections/Designs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
</p>

<img
class="hide-mobile"
src="/assets/images/banco-ripley-benchmarks-3.png"
alt="Pantalla de selección de vuelo de LATAM Airlines con observaciones de UX y comentarios de usuarios"
/>
Expand Down Expand Up @@ -73,6 +74,7 @@
.image-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
padding-inline: 2rem;
margin-block-start: 4rem;
Expand All @@ -85,6 +87,14 @@
max-block-size: 31.25rem;
margin-inline: auto;
}

@media (width <= 768px) {
.hide-mobile {
display: none;
content-visibility: hidden;
}
}

@media (min-width: 48em) {
.title {
font-size: 2rem;
Expand All @@ -99,10 +109,6 @@
}

.image-container img {
max-inline-size: unset;
max-block-size: unset;
block-size: unset;
inline-size: unset;
flex-shrink: 1;
flex-basis: 15rem;
}
Expand Down

0 comments on commit a1165d7

Please sign in to comment.