mirror of
https://github.com/MathiasDPX/blog.git
synced 2025-05-10 07:33:09 +00:00
fix: use dynamic viewport size instead of viewport size
This commit is contained in:
parent
962c695736
commit
265d29c275
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ header h1 {
|
||||||
}
|
}
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
html, body {
|
html, body {
|
||||||
min-height: 100vh;
|
min-height: 100dvh;
|
||||||
}
|
}
|
||||||
#wrap {
|
#wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -83,7 +83,7 @@ header h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
header h1 {
|
header h1 {
|
||||||
font-size: clamp(2rem, 20vw, 100px);
|
font-size: clamp(2rem, 20dvw, 100px);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue