Skip to content

Commit 566d87b

Browse files
authored
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.
1 parent 1c26127 commit 566d87b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: web_src/css/repo.css

+1-5
Original file line numberDiff line numberDiff line change
@@ -530,14 +530,10 @@ td .commit-summary {
530530
min-width: 100px;
531531
}
532532

533-
.repository.new.issue .comment.form .comment .avatar {
533+
#new-issue .avatar {
534534
width: 3em;
535535
}
536536

537-
.repository.new.issue .comment.form .content {
538-
margin-left: 4em;
539-
}
540-
541537
.repository.new.issue .comment.form .content::before,
542538
.repository.new.issue .comment.form .content::after {
543539
right: 100%;

0 commit comments

Comments
 (0)