Skip to content

Commit

Permalink
fix: adjust base font-size for High DPI displays
Browse files Browse the repository at this point in the history
  • Loading branch information
mman committed Nov 8, 2024
1 parent 39605f0 commit 2f09cd8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/app/Marine2/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@
html {
font-family: MuseoSans, "Noto Sans SC", sans-serif;
}

html {
font-size: 16px;
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
html {
font-size: 24px;
}
}

@media screen and (min-width: 2560px) {
html {
font-size: 32px;
}
}
}

html,
Expand Down

0 comments on commit 2f09cd8

Please sign in to comment.