Skip to content

Commit

Permalink
Fix centering issues on mobile (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
NirmithDev authored Jun 22, 2024
1 parent 992c939 commit 5e4bfd4
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 5e4bfd4

Please sign in to comment.