Skip to content

Commit

Permalink
Improve mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jul 9, 2024
1 parent ef53640 commit 8da7d61
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/client/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ header {
"header_logo header_menu"
"header_logo header_search";
}
@media only screen and (max-width: 600px) {
header {
grid-template-areas:
"header_logo header_menu"
"header_search header_search";
}
}
#header_logo {
grid-area: header_logo;
}
Expand Down Expand Up @@ -114,6 +107,18 @@ footer .logo {
max-height: 50px;
margin-right: 30px;
}
@media only screen and (max-width: 600px) {
header {
grid-template-areas:
"header_logo header_menu"
"header_search header_search";
min-height: 120px;
}
footer {
/* Prevent footer content overflow */
min-height: 90px;
}
}

main {
grid-area: 2 / 1 / 6 / 3;
Expand Down

0 comments on commit 8da7d61

Please sign in to comment.