Skip to content

Commit

Permalink
view height fixed on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
AB10110F committed Mar 6, 2024
1 parent 1f25182 commit 01d03c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/css/marquee.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@

@media only screen and (max-width: 1250px) and (min-width: 760px) {
.header {
height: 12vh;
height: 12svh;
}

.header>h1 {
font-size: 7vh;
font-size: 7svh;
}
}

@media only screen and (max-width: 760px) {
.header {
height: 11vh;
height: 11svh;
}

.header>h1 {
font-size: 5vh;
font-size: 5svh;
text-align: center;
}
}
2 changes: 1 addition & 1 deletion src/css/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
display: flex;
flex-direction: row;
width: 100%;
height: 75vh;
height: 75svh;
gap: 25px;
}

Expand Down
8 changes: 4 additions & 4 deletions src/css/switch.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
@media only screen and (max-width: 1250px) and (min-width: 760px) {
.container {
width: 50%;
font-size: 2vh;
font-size: 2svh;
}

.languageSwitchContainer {
Expand All @@ -115,19 +115,19 @@

.section {
width: 50%;
font-size: 2vh;
font-size: 2svh;
justify-content: center;
}
}

@media only screen and (max-width: 760px) {
.container {
width: 50%;
font-size: 3.2vh;
font-size: 3.2svh;
}

.section {
width: 65%;
font-size: 3.2vh;
font-size: 3.2svh;
}
}

0 comments on commit 01d03c8

Please sign in to comment.