1
0
Fork 0
forked from forgejo/forgejo

Fix various line-height styles (#26553)

Fix #26537

Use the same default line-height as "normalize.css" instead of "1". "1"
is not right because it doesn't work with descent part and causes
overflow problems.


![image](3f2e8fb5-b326-4889-bfff-c79c75f1b7f4)

---------

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
wxiaoguang 2023-08-18 05:50:32 +08:00 committed by GitHub
parent b658f2c61b
commit fe2b9274b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 6 deletions

View file

@ -390,8 +390,8 @@
}
.repository.file.list .non-diff-file-content .header .file-actions .btn-octicon {
line-height: 1;
padding: 10px 8px;
line-height: var(--line-height-default);
padding: 8px;
vertical-align: middle;
color: var(--color-text);
}