1
0
Fork 0
forked from forgejo/forgejo

Use line-height: normal by default (#26635)

Fix #26537 again because 1.15 is too small for some fonts.
This commit is contained in:
wxiaoguang 2023-08-22 18:19:15 +08:00 committed by GitHub
parent 75689b8973
commit 8f2e2878e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -25,7 +25,7 @@ Use a better box model (opinionated).
}
html {
line-height: 1.15; /* 1. Correct the line height in all browsers. */
line-height: normal; /* 1. (not following the "modern-normalize") Do not change the browser's default line-height, the default value is font-dependent and roughly 1.2 */
-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
}