Skip to content

Commit

Permalink
fix: add @media for home modals for small height and width devices
Browse files Browse the repository at this point in the history
  • Loading branch information
sanua356 committed Aug 10, 2024
1 parent 4f8f964 commit c30ee1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/home/ui/aboutGameModal/AboutGameModal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
.authors {
aspect-ratio: auto;
grid-template-columns: 1fr;
max-height: 80vh;
overflow-y: auto;
}
.images {
display: none;
Expand All @@ -111,6 +113,9 @@
}
}
@media screen and (max-width: 576px) {
.info {
word-break: break-all;
}
.title {
font-size: 3rem;
}
Expand Down
5 changes: 5 additions & 0 deletions src/pages/home/ui/authorsModal/AuthorsModal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
.authors {
aspect-ratio: auto;
grid-template-columns: 1fr;
max-height: 80vh;
overflow-y: auto;
}
.images {
display: none;
Expand All @@ -111,6 +113,9 @@
}
}
@media screen and (max-width: 576px) {
.info {
word-break: break-all;
}
.title {
font-size: 3rem;
}
Expand Down

0 comments on commit c30ee1c

Please sign in to comment.