1
0
Fork 0
forked from forgejo/forgejo

Backport line height fix (#26708)

Backport the `line-height: normal`, because #26520 was backported

(cherry picked from commit 508c624e99)
This commit is contained in:
wxiaoguang 2023-08-24 18:39:09 +08:00 committed by Earl Warren
parent 03b397a408
commit 4da20765e8
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
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. */
}