Skip to content

Commit

Permalink
Tweaked adaptive design
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-moore-dev committed Dec 1, 2024
1 parent 682727f commit 29f2d9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@ footer {
margin-top: 3vw;
}

/* Adaptive design: alter values when viewport < 1280px */
@media (max-width: 1280px) {
/* Adaptive design: alter values when phone aspect ratio is detected */
@media (max-aspect-ratio: 3/2) {
.container, .images {
flex-direction: column;
align-items: center;
margin-top: 0;
margin-bottom: 0;
}
.leftImage, .rightImage {
width: 35vw;
width: 62vw;
align-self: center;
margin-top: 3vw;
margin-bottom: 3vw;
Expand Down

0 comments on commit 29f2d9f

Please sign in to comment.