Fix new issue/pr avatar (#31419)

The avatar on "New Issue" and "New Pull Request" pages was inconsistent.
Removed the extra margin and the new CSS rules now use common parent
`<form id="#new-issue">` because `.repository.new.issue` is not present
on pull request page.
This commit is contained in:
silverwind 2024-06-19 18:19:59 +02:00 committed by GitHub
parent 1c26127b52
commit 566d87bb8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -530,14 +530,10 @@ td .commit-summary {
min-width: 100px;
}
.repository.new.issue .comment.form .comment .avatar {
#new-issue .avatar {
width: 3em;
}
.repository.new.issue .comment.form .content {
margin-left: 4em;
}
.repository.new.issue .comment.form .content::before,
.repository.new.issue .comment.form .content::after {
right: 100%;