Skip to content

Commit

Permalink
Fix new issue/pr avatar (go-gitea#31419)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
silverwind authored Jun 19, 2024
1 parent 1c26127 commit 566d87b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down

0 comments on commit 566d87b

Please sign in to comment.