forked from forgejo/forgejo
Backport #21990 - Use explicit avatar size so when JS copies the HTML, the size gets copied with it - Replace icon font use with SVG - Improve styling and diff rendering - Sort lists in `svg.js` Fixes: https://github.com/go-gitea/gitea/issues/21924 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
888384a631
commit
da956b863b
4 changed files with 51 additions and 29 deletions
|
@ -2907,6 +2907,24 @@ tbody.commit-list {
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
.comment-diff-data {
|
||||
background: var(--color-code-bg);
|
||||
max-height: calc(100vh - 10.5rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.comment-diff-data pre {
|
||||
line-height: 18px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.content-history-detail-dialog .header .avatar {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
#topic_edit {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue