Skip to content

Commit

Permalink
:snakes: Fixed small phone ui issue
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-sanwal committed Oct 6, 2024
1 parent d17fcd2 commit 3e2e528
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions assets/css/media-queris.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,25 @@
}
}

/* Below 384 px */
@media screen and (width <=24em) {
html {
font-size: 45%;
}
.btn-container {
flex-direction: column;
}
.featured-image {
height: 0.8rem;
}
}

/* Below 300px */
@media screen and (width <= 18rem) {
.diet-class .diet-item {
flex-wrap: wrap;
}
html {
font-size: 37.5%;
}
}

0 comments on commit 3e2e528

Please sign in to comment.