Skip to content

Commit

Permalink
Fix centering issues on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
NirmithDev committed Jun 17, 2024
1 parent 725e8d8 commit 42a1439
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/scss/components/_news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@
margin: 0 auto;
}

@media only screen and (min-width: 415px) and (max-width: 1120px) {
@media only screen and (min-width: 475px) and (max-width: 1120px) {
.news-flex-wrapper {
justify-content: space-evenly;
}
}

@media only screen and (max-width: 475px) {
.news-flex-wrapper {
justify-content: center;
}
}

@media only screen and (max-width: 600px) {
.news-link {
transform: scale(0.75);
Expand Down

0 comments on commit 42a1439

Please sign in to comment.