mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-01 07:37:50 +08:00
Use line-height: normal by default (#26635)
Fix #26537 again because 1.15 is too small for some fonts.
This commit is contained in:
2
web_src/css/modules/normalize.css
vendored
2
web_src/css/modules/normalize.css
vendored
@ -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. */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user