1
0
Fork 0
forked from forgejo/forgejo

Backport line height fix (#26708)

Backport the `line-height: normal`, because #26520 was backported
This commit is contained in:
wxiaoguang 2023-08-24 18:39:09 +08:00 committed by GitHub
parent ecfed9e298
commit 508c624e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 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. */
}